Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698