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

Unified Diff: LayoutTests/inspector/sources/debugger/frameworks-step-from-framework.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/frameworks-step-from-framework.html
diff --git a/LayoutTests/inspector/sources/debugger/frameworks-step-from-framework.html b/LayoutTests/inspector/sources/debugger/frameworks-step-from-framework.html
deleted file mode 100644
index 544c179067dbe06e93947a6d79117d748ae2f121..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/frameworks-step-from-framework.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="resources/framework.js"></script>
-<script>
-
-function testFunction()
-{
- Framework.safeRun(Framework.breakInFramework, Framework.empty)
- Framework.safeRun(Framework.empty); // should not step inside
- Framework.empty(); // dummy call
- Framework.sendXHR('/foo?a=b');
-}
-
-function test()
-{
- var frameworkRegexString = "/framework\\.js$";
- WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
-
- InspectorTest.setQuiet(true);
- InspectorTest.startDebuggerTest(step1);
-
- var xhrPane;
-
- function step1()
- {
- xhrPane = WebInspector.panels.sources.sidebarPanes.xhrBreakpoints;
- xhrPane._setBreakpoint("foo", true);
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2()
- {
- var actions = [
- "Print", // debugger;
- "StepInto", "Print",
- "StepOver", "Print",
- "StepOut", "Print",
- "StepInto", "Print", // should not step inside
- "Resume", "Print", // should stop on XHR.send()
- "StepInto", "Print", // should step inside framework
- ];
- InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step3);
- }
-
- function step3()
- {
- xhrPane._removeBreakpoint("foo");
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<input type='button' onclick='testFunction()' value='Test'/>
-<p>
-Tests stepping from framework call frames.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698