| Index: LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-2.html b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
|
| similarity index 62%
|
| copy from LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-2.html
|
| copy to LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
|
| index 843981a8188f755124c4ff3965ee000935f8ffe7..95f64b9302d5626f41b6d1c26fe65a732d5ddb45 100644
|
| --- a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-2.html
|
| +++ b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
|
| @@ -22,38 +22,9 @@ var test = function()
|
| var formattedSourceFrame;
|
|
|
| InspectorTest.runDebuggerTestSuite([
|
| - function testBreakpointsSetAndRemoveInFormattedSource(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");
|
| - InspectorTest.removeBreakpoint(formattedSourceFrame, 3);
|
| - scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode());
|
| - InspectorTest.dumpBreakpointSidebarPane("while paused in raw");
|
| - InspectorTest.resumeExecution(next);
|
| - }
|
| - },
|
| -
|
| function testBreakpointSetInOriginalAndRemovedInFormatted(next)
|
| {
|
| - InspectorTest.showScriptSource("script-formatter-breakpoints-2.html", didShowScriptSource);
|
| + InspectorTest.showScriptSource("script-formatter-breakpoints-4.html", didShowScriptSource);
|
|
|
| function didShowScriptSource(frame)
|
| {
|
| @@ -85,14 +56,10 @@ var test = function()
|
| ]);
|
|
|
| }
|
| -
|
| </script>
|
| -
|
| </head>
|
| -
|
| <body onload="runTest()">
|
| <p>Tests the script formatting is working fine with breakpoints.
|
| </p>
|
| -
|
| </body>
|
| </html>
|
|
|