OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | |
4 <script src="../../http/tests/inspector/console-test.js"></script> | |
5 <script> | |
6 | |
7 testRunner.setCanOpenWindows(); | |
8 | |
9 function doDialog() | |
10 { | |
11 testRunner.closeWebInspector(); | |
12 showModalDialog('data:text/html,<script>setTimeout(close, 0);%3c/script>'); | |
13 setTimeout(function(){testRunner.notifyDone();}, 0); | |
14 } | |
15 | |
16 function test() | |
17 { | |
18 RuntimeAgent.evaluate("doDialog()"); | |
19 } | |
20 | |
21 </script> | |
22 </head> | |
23 | |
24 <body onload="runTest()"> | |
25 <p> | |
26 Test that any long api call from the frontend will not crash the inspected page'
s renderer if the page is reloaded or frontend is closed in the middle. | |
27 </p> | |
28 <a href="https://bugs.webkit.org/show_bug.cgi?id=60616">https://bugs.webkit.org/
show_bug.cgi?id=60616</a> | |
29 | |
30 </body> | |
31 </html> | |
OLD | NEW |