OLD | NEW |
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 </head> | 5 </head> |
6 <body onload="test();"> | 6 <body onload="test();"> |
7 <div id="console"></div> | 7 <div id="console"></div> |
8 <div id="editable" contenteditable></div> | 8 <div id="editable" contenteditable></div> |
9 | 9 |
10 <script> | 10 <script> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 window.setTimeout(function() { waitForMarkersToAppear(node, nretry -
1); }, 5); | 45 window.setTimeout(function() { waitForMarkersToAppear(node, nretry -
1); }, 5); |
46 } else { | 46 } else { |
47 shouldBe('internals.markerCountForNode(testEditable.childNodes[0], "
spelling")', '3'); | 47 shouldBe('internals.markerCountForNode(testEditable.childNodes[0], "
spelling")', '3'); |
48 testEditable.removeChild(testEditable.childNodes[0]); | 48 testEditable.removeChild(testEditable.childNodes[0]); |
49 if (window.testRunner) | 49 if (window.testRunner) |
50 testRunner.notifyDone(); | 50 testRunner.notifyDone(); |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 if (window.testRunner) { | 54 if (window.testRunner) { |
55 testRunner.dumpAsText(); | |
56 testRunner.waitUntilDone(); | 55 testRunner.waitUntilDone(); |
57 } | 56 } |
58 | 57 |
59 internals.setContinuousSpellCheckingEnabled(false); | 58 internals.setContinuousSpellCheckingEnabled(false); |
60 testEditable.focus(); | 59 testEditable.focus(); |
61 internals.setContinuousSpellCheckingEnabled(true); | 60 internals.setContinuousSpellCheckingEnabled(true); |
62 waitForMarkersToAppear(testEditable.childNodes[0], 10); | 61 waitForMarkersToAppear(testEditable.childNodes[0], 10); |
63 } | 62 } |
64 </script> | 63 </script> |
65 <script src="../../fast/js/resources/js-test-post.js"></script> | 64 <script src="../../fast/js/resources/js-test-post.js"></script> |
66 </body> | 65 </body> |
67 </html> | 66 </html> |
OLD | NEW |