| 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="../../resources/js-test.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> |
| 11 description("Text to check is divided into chunks to make sure checking some hug
e text " + | 11 description("Text to check is divided into chunks to make sure checking some hug
e text " + |
| 12 "does not freeze the page/UI. With the synchronous spell checker only one chunk
is checked. " + | 12 "does not freeze the page/UI. With the synchronous spell checker only one chunk
is checked. " + |
| 13 "To test manaully trigger spell checking of the editable (e.g. by copy+paste) wi
th unified " + | 13 "To test manaully trigger spell checking of the editable (e.g. by copy+paste) wi
th unified " + |
| 14 "and synchronous checker on. Only 3 first misspellings should be marked."); | 14 "and synchronous checker on. Only 3 first misspellings should be marked."); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 | 57 |
| 58 internals.setContinuousSpellCheckingEnabled(false); | 58 internals.setContinuousSpellCheckingEnabled(false); |
| 59 testEditable.focus(); | 59 testEditable.focus(); |
| 60 internals.setContinuousSpellCheckingEnabled(true); | 60 internals.setContinuousSpellCheckingEnabled(true); |
| 61 waitForMarkersToAppear(testEditable.childNodes[0], 10); | 61 waitForMarkersToAppear(testEditable.childNodes[0], 10); |
| 62 } | 62 } |
| 63 </script> | 63 </script> |
| 64 </body> | 64 </body> |
| 65 </html> | 65 </html> |
| OLD | NEW |