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

Unified Diff: LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html

Issue 213383010: DevTools: split slow formatter breakpoints tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed from TestExpectations Created 6 years, 9 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-1.html
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html
index 78faa5faef365d909201de04b24eaf123e5b7144..5fc26df577adec33e20e3af7a63042b502fdc95e 100644
--- a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html
+++ b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html
@@ -61,47 +61,14 @@ var test = function()
InspectorTest.removeBreakpoint(sourceFrame, 11);
InspectorTest.resumeExecution(next);
}
- },
-
- function testBreakpointsSetInFormattedAndRemoveInOriginalSource(next)
- {
- InspectorTest.showScriptSource("unformatted.js", didShowScriptSource);
-
- function didShowScriptSource(frame)
- {
- sourceFrame = frame;
- InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
- scriptFormatter._toggleFormatScriptSource();
- }
-
- function uiSourceCodeScriptFormatted()
- {
- 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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698