| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> | |
| 5 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> | 4 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> |
| 6 <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
> |
| 7 </head> | 6 </head> |
| 8 <body> | 7 <body> |
| 9 <div id="container"> | 8 <div id="container"> |
| 10 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 /> |
| 11 Start: The first search should match this word: first_step.<br /> | 10 Start: The first search should match this word: first_step.<br /> |
| 12 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. |
| 13 </div> | 12 </div> |
| 14 <pre id="console" style="visibility: hidden;"></pre> | 13 <pre id="console" style="visibility: hidden;"></pre> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 shouldBeFalse('testRunner.findString("last_step", [])'); | 26 shouldBeFalse('testRunner.findString("last_step", [])'); |
| 28 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); | 27 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); |
| 29 } | 28 } |
| 30 | 29 |
| 31 document.getElementById("console").style.removeProperty("visibility"); | 30 document.getElementById("console").style.removeProperty("visibility"); |
| 32 | 31 |
| 33 var successfullyParsed = true; | 32 var successfullyParsed = true; |
| 34 </script> | 33 </script> |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| OLD | NEW |