summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/inspector/console/console-long-eval-crash.html
blob: 87b4fac3a6b901150259d8dc088a9d568c358235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<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>