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

Unified Diff: LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-3.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/script-formatter-breakpoints-3.html
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-3.html b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-3.html
deleted file mode 100644
index e87537bec8645e5b231bf1b5283d1b4681133a11..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-3.html
+++ /dev/null
@@ -1,58 +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/unformatted3.js"></script>
-<script>
-var test = function()
-{
- WebInspector.breakpointManager._storage._breakpoints = {};
- var panel = WebInspector.panels.sources;
- var scriptFormatter;
-
- InspectorTest.runDebuggerTestSuite([
- function testSetup(next)
- {
- InspectorTest.scriptFormatter().then(function(sf) {
- scriptFormatter = sf;
- next();
- });
- },
-
- function testBreakpointsSetInFormattedAndRemoveInOriginalSource(next)
- {
- InspectorTest.showScriptSource("unformatted3.js", didShowScriptSource);
-
- function didShowScriptSource(frame)
- {
- InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
- scriptFormatter._toggleFormatScriptSource();
- }
-
- function uiSourceCodeScriptFormatted()
- {
- var formattedSourceFrame = panel.visibleView;
- InspectorTest.setBreakpoint(formattedSourceFrame, 3, "", true);
- InspectorTest.waitUntilPaused(pausedInF2);
- InspectorTest.evaluateInPageWithTimeout("f2()");
- }
-
- function pausedInF2(callFrames)
- {
- InspectorTest.dumpBreakpointSidebarPane("while paused in pretty printed");
- scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode());
- InspectorTest.dumpBreakpointSidebarPane("while paused in raw");
- // No need to remove breakpoint since formattedUISourceCode was removed.
- InspectorTest.resumeExecution(next);
- }
- }
- ]);
-
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>Tests the script formatting is working fine with breakpoints.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698