OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <body> |
| 3 This test passes if it does not crash. |
| 4 <script> |
| 5 if (window.testRunner) { |
| 6 testRunner.waitUntilDone(); |
| 7 testRunner.dumpAsText(); |
| 8 |
| 9 internals.settings.setCaretBrowsingEnabled(false); |
| 10 testRunner.displayAsyncThen(function() { |
| 11 internals.settings.setCaretBrowsingEnabled(true); |
| 12 document.body.innerHTML += 'PASS'; |
| 13 testRunner.displayAsyncThen(function() { |
| 14 testRunner.notifyDone(); |
| 15 }); |
| 16 }); |
| 17 } else { |
| 18 document.body.textContent = 'This test needs DumpRenderTree.'; |
| 19 } |
| 20 </script> |
| 21 </body> |
OLD | NEW |