Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / caret-crash.html
blob16acb16fcef89d554aa5d8b3206e3f4512879bd1
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();
9 internals.settings.setCaretBrowsingEnabled(false);
10 testRunner.layoutAndPaintAsyncThen(function() {
11 internals.settings.setCaretBrowsingEnabled(true);
12 document.body.innerHTML += 'PASS';
13 testRunner.layoutAndPaintAsyncThen(function() {
14 testRunner.notifyDone();
15 });
16 });
17 } else {
18 document.body.textContent = 'This test needs DumpRenderTree.';
20 </script>
21 </body>