| Index: LayoutTests/fast/forms/select/menulist-type-ahead-find.html
|
| diff --git a/LayoutTests/fast/forms/select/menulist-type-ahead-find.html b/LayoutTests/fast/forms/select/menulist-type-ahead-find.html
|
| index bfe6e8f52fe3eb0fcbce8a3a70717c7386ca5a7c..d784b07967146a812f50ba46de3b39f15c385c62 100644
|
| --- a/LayoutTests/fast/forms/select/menulist-type-ahead-find.html
|
| +++ b/LayoutTests/fast/forms/select/menulist-type-ahead-find.html
|
| @@ -4,13 +4,17 @@
|
| <script>
|
| function recordIt()
|
| {
|
| - document.getElementById("res").innerText = "PASS";
|
| + var res = document.getElementById("res");
|
| + if (res.innerText != "FAIL")
|
| + res.innerText = "PASS";
|
| }
|
|
|
| function testIt(ch, expected)
|
| {
|
| document.getElementById("sel").focus();
|
| eventSender.keyDown(ch);
|
| + if (document.getElementById("sel").selectedIndex != expected)
|
| + document.getElementById("res").innerText = "FAIL";
|
| }
|
|
|
| function test()
|
| @@ -19,7 +23,7 @@ function test()
|
| return;
|
|
|
| testRunner.dumpAsText();
|
| - testIt("c", "cherry");
|
| + testIt("c", 2);
|
| }
|
| </script>
|
| </head>
|
|
|