3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
7 function testFunction()
9 setInterval(callback
, 0);
20 var maxAsyncCallStackDepth
= 4;
21 InspectorTest
.startDebuggerTest(step1
, true);
25 InspectorTest
.DebuggerAgent
.setAsyncCallStackDepth(maxAsyncCallStackDepth
, step2
);
30 InspectorTest
.runTestFunctionAndWaitUntilPaused(didPause
);
35 InspectorTest
.addResult("Reloading the page...");
36 InspectorTest
.reloadPage(afterReload
);
39 function afterReload()
41 InspectorTest
.addResult("PASS: Reloaded successfully.");
42 InspectorTest
.completeDebuggerTest();
48 <body onload=
"runTest()">
50 Tests that page reload with async stacks turned on does not crash.
51 <a href=
"https://code.google.com/p/chromium/issues/detail?id=441223">Bug
441223.
</a>