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

Side by Side Diff: LayoutTests/editing/spelling/focusing-other-frame.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="resources/util.js"></script> 4 <script src="resources/util.js"></script>
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 <iframe id="frame1" src="data:text/html,<body contenteditable></body>"></iframe> 9 <iframe id="frame1" src="data:text/html,<body contenteditable></body>"></iframe>
10 <iframe id="frame2" src="data:text/html,<body contenteditable></body>"></iframe> 10 <iframe id="frame2" src="data:text/html,<body contenteditable></body>"></iframe>
(...skipping 17 matching lines...) Expand all
28 frame2.contentWindow.document.body.appendChild(testEditable2); 28 frame2.contentWindow.document.body.appendChild(testEditable2);
29 testEditable1.focus(); 29 testEditable1.focus();
30 frame1.contentWindow.document.execCommand("InsertText", false, "zz"); 30 frame1.contentWindow.document.execCommand("InsertText", false, "zz");
31 shouldBe('internals.markerCountForNode(testEditable1.childNodes[0], "spellin g")', '0'); 31 shouldBe('internals.markerCountForNode(testEditable1.childNodes[0], "spellin g")', '0');
32 testEditable2.focus(); 32 testEditable2.focus();
33 shouldBe('internals.markerCountForNode(testEditable1.childNodes[0], "spellin g")', '1'); 33 shouldBe('internals.markerCountForNode(testEditable1.childNodes[0], "spellin g")', '1');
34 } else { 34 } else {
35 log("Automatic testing impossible. Test manually. See steps in the descripti on."); 35 log("Automatic testing impossible. Test manually. See steps in the descripti on.");
36 } 36 }
37 </script> 37 </script>
38 <script src="../../fast/js/resources/js-test-post.js"></script>
39 </body> 38 </body>
40 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/design-mode-spellcheck-off.html ('k') | LayoutTests/editing/spelling/grammar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698