Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: LayoutTests/inspector/sources/debugger/async-callstack-eval.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698