| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../editing.js"></script> | 4 <script src="../editing.js"></script> |
| 5 <script src="resources/util.js"></script> | 5 <script src="resources/util.js"></script> |
| 6 <script src="../../resources/js-test.js"></script> | 6 <script src="../../resources/js-test.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <div id="container"> | 9 <div id="container"> |
| 10 <div id="test_editable" contentEditable>zz zz zz.</div> | 10 <div id="test_editable" contentEditable>zz zz zz.</div> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 }); | 42 }); |
| 43 }); | 43 }); |
| 44 } | 44 } |
| 45 | 45 |
| 46 function test() { | 46 function test() { |
| 47 if (!window.internals) { | 47 if (!window.internals) { |
| 48 debug("Automatic testing impossible. Test manually."); | 48 debug("Automatic testing impossible. Test manually."); |
| 49 return; | 49 return; |
| 50 } | 50 } |
| 51 | 51 |
| 52 internals.settings.setUnifiedTextCheckerEnabled(true); | |
| 53 | |
| 54 // Check whether non-focused elements do not have spelling markers, then | 52 // Check whether non-focused elements do not have spelling markers, then |
| 55 // verify them when they get focused. | 53 // verify them when they get focused. |
| 56 verifySpellingMarkers(false); | 54 verifySpellingMarkers(false); |
| 57 } | 55 } |
| 58 test(); | 56 test(); |
| 59 </script> | 57 </script> |
| 60 </body> | 58 </body> |
| 61 </html> | 59 </html> |
| OLD | NEW |