OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> | 4 <script src=../../resources/js-test.js language="javascript" type="text/javascri
pt"></script> |
5 <title>Testing that searching for text restarts at the last active match.</title
> | 5 <title>Testing that searching for text restarts at the last active match.</title
> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="container"> | 8 <div id="container"> |
9 Failure: If the second search ends up finding the text in this line we d
idn't restart the search from the last active match: last_step.<br /> | 9 Failure: If the second search ends up finding the text in this line we d
idn't restart the search from the last active match: last_step.<br /> |
10 Start: The first search should match this word: first_step.<br /> | 10 Start: The first search should match this word: first_step.<br /> |
11 Success: The second search should match this word: last_step. Subsequent
searches should fail. | 11 Success: The second search should match this word: last_step. Subsequent
searches should fail. |
12 </div> | 12 </div> |
13 <pre id="console" style="visibility: hidden;"></pre> | 13 <pre id="console" style="visibility: hidden;"></pre> |
14 <script> | 14 <script> |
(...skipping 11 matching lines...) Expand all Loading... |
26 shouldBeFalse('testRunner.findString("last_step", [])'); | 26 shouldBeFalse('testRunner.findString("last_step", [])'); |
27 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); | 27 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); |
28 } | 28 } |
29 | 29 |
30 document.getElementById("console").style.removeProperty("visibility"); | 30 document.getElementById("console").style.removeProperty("visibility"); |
31 | 31 |
32 var successfullyParsed = true; | 32 var successfullyParsed = true; |
33 </script> | 33 </script> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |