| 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>
|
|
|