| <html> |
| <head> |
| <script src="../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../http/tests/inspector/console-test.js"></script> |
| <script> |
| |
| testRunner.setCanOpenWindows(); |
| |
| function doDialog() |
| { |
| testRunner.closeWebInspector(); |
| showModalDialog('data:text/html,<script>setTimeout(close, 0);%3c/script>'); |
| setTimeout(function(){testRunner.notifyDone();}, 0); |
| } |
| |
| function test() |
| { |
| RuntimeAgent.evaluate("doDialog()"); |
| } |
| |
| </script> |
| </head> |
| |
| <body onload="runTest()"> |
| <p> |
| 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. |
| </p> |
| <a href="https://bugs.webkit.org/show_bug.cgi?id=60616">https://bugs.webkit.org/show_bug.cgi?id=60616</a> |
| |
| </body> |
| </html> |