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

Unified Diff: LayoutTests/inspector/sources/debugger/frameworks-step-into-skips-setTimeout.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-into-skips-setTimeout.html
diff --git a/LayoutTests/inspector/sources/debugger/frameworks-step-into-skips-setTimeout.html b/LayoutTests/inspector/sources/debugger/frameworks-step-into-skips-setTimeout.html
deleted file mode 100644
index 990a31d944ec284999e1687f3b4a1b96dd91b16d..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/frameworks-step-into-skips-setTimeout.html
+++ /dev/null
@@ -1,66 +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>
-
-var counter = 0;
-
-function testFunction()
-{
- Framework.scheduleUntilDone(callback, 0);
-}
-
-function callback()
-{
- ++counter;
- if (counter === 1)
- stop();
- return counter === 2;
-}
-
-function stop()
-{
- debugger;
-}
-
-function test()
-{
- var frameworkRegexString = "/framework\\.js$";
- WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
-
- InspectorTest.startDebuggerTest(step1, true);
-
- function step1()
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2()
- {
- var actions = [
- "Print", // debugger;
- "StepOut", "Print",
- "StepInto", "Print",
- "StepInto", "Print", // Should NOT stop on setTimeout() inside framework
- ];
- InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step3);
- }
-
- function step3()
- {
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<input type='button' onclick='testFunction()' value='Test'/>
-<p>
-Tests that stepping into blackboxed framework will not pause on setTimeout() inside the framework.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698