| 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"> | 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> | 5 <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
> | 6 <title>Testing that searching for text restarts at the last active match.</title
> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <div id="container"> | 9 <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 /> | 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 /> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 shouldBeTrue('testRunner.findString("first_step", ["StartInSelection"])'); | 25 shouldBeTrue('testRunner.findString("first_step", ["StartInSelection"])'); |
| 26 shouldBeTrue('testRunner.findString("last_step", [])'); | 26 shouldBeTrue('testRunner.findString("last_step", [])'); |
| 27 shouldBeFalse('testRunner.findString("last_step", [])'); | 27 shouldBeFalse('testRunner.findString("last_step", [])'); |
| 28 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); | 28 shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])'); |
| 29 } | 29 } |
| 30 | 30 |
| 31 document.getElementById("console").style.removeProperty("visibility"); | 31 document.getElementById("console").style.removeProperty("visibility"); |
| 32 | 32 |
| 33 var successfullyParsed = true; | 33 var successfullyParsed = true; |
| 34 </script> | 34 </script> |
| 35 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 36 </body> | 35 </body> |
| 37 </html> | 36 </html> |
| OLD | NEW |