| Index: LayoutTests/inspector/sources/debugger/async-callstack-eval.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/async-callstack-eval.html b/LayoutTests/inspector/sources/debugger/async-callstack-eval.html
|
| deleted file mode 100644
|
| index 5063c695ab24b64cd6dedb39116b75ccbf18e148..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/async-callstack-eval.html
|
| +++ /dev/null
|
| @@ -1,81 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/console-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -
|
| -var a = "FAIL";
|
| -function testFunction()
|
| -{
|
| - var a = "PASS";
|
| - function inner()
|
| - {
|
| - var b = a || "FAIL";
|
| - setTimeout(timeout, 0);
|
| - }
|
| - inner();
|
| -
|
| - a = b = "FAIL: re-assigned";
|
| -}
|
| -
|
| -function timeout()
|
| -{
|
| - var b = "FAIL";
|
| - debugger;
|
| -}
|
| -
|
| -var test = function()
|
| -{
|
| - var maxAsyncCallStackDepth = 4;
|
| -
|
| - InspectorTest.setQuiet(true);
|
| - InspectorTest.startDebuggerTest(step1);
|
| -
|
| - function step1()
|
| - {
|
| - InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step2);
|
| - }
|
| -
|
| - function step2()
|
| - {
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
|
| - }
|
| -
|
| - function didPause(callFrames, reason, breakpointIds, asyncStackTrace)
|
| - {
|
| - InspectorTest.captureStackTrace(callFrames, asyncStackTrace);
|
| -
|
| - var pane = WebInspector.panels.sources.sidebarPanes.callstack;
|
| - var frame = pane.callFrames[1];
|
| - InspectorTest.addResult("Select call frame: " + frame.title());
|
| - pane._callFrameSelected(frame);
|
| - InspectorTest.runAfterPendingDispatches(step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.evaluateInConsoleAndDump("a", step4);
|
| - }
|
| -
|
| - function step4()
|
| - {
|
| - InspectorTest.evaluateInConsoleAndDump("b", tearDown);
|
| - }
|
| -
|
| - function tearDown()
|
| - {
|
| - InspectorTest.completeDebuggerTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests evaluation in an async call frame.
|
| -</p>
|
| -
|
| -</body>
|
| -</html>
|
|
|