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

Side by Side Diff: LayoutTests/editing/spelling/spelling-with-whitespace-selection.html

Issue 48903019: Delete js-test-post.js. (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"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script src="resources/util.js"></script> 5 <script src="resources/util.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div id="container"> 8 <div id="container">
9 <div id="destination" contentEditable></div> 9 <div id="destination" contentEditable></div>
10 </div> 10 </div>
(...skipping 25 matching lines...) Expand all
36 // Esc key to hide the context menu. 36 // Esc key to hide the context menu.
37 eventSender.keyDown(String.fromCharCode(0x001B), null); 37 eventSender.keyDown(String.fromCharCode(0x001B), null);
38 38
39 spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0); 39 spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0);
40 shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome"); 40 shouldBeEqualToString("spellingMarkerRange.toString()", "wellcome");
41 shouldBeEqualToString("window.getSelection().toString()", " wellcome "); 41 shouldBeEqualToString("window.getSelection().toString()", " wellcome ");
42 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]", "welcome"); 42 shouldBeEqualToString("contextMenuElements[contextMenuElements.length - 1]", "welcome");
43 }); 43 });
44 44
45 </script> 45 </script>
46 <script src="../../fast/js/resources/js-test-post.js"></script>
47 </body> 46 </body>
48 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698