Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / print-close-crash.html
blobf588cca5a14566216f659dcb88892cc8a94c6bd9
1 <script>
2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 // DumpRenderTree requires waitUntilDone for this test even though it's not needed.
5 testRunner.waitUntilDone();
6 testRunner.setCanOpenWindows();
7 testRunner.setCloseRemainingWindowsWhenComplete(true);
9 var w = window.open("data:text/html,foo");
10 w.print();
11 w.close();
13 window.onload = function() {
14 if (window.testRunner)
15 testRunner.notifyDone();
17 </script>
18 This test passes if it doesn't crash.