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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html

Issue 2801543002: DevTools: simplify ScriptFormatterEditorAction (Closed)
Patch Set: fixed cleanup Created 3 years, 8 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: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html
index 7704045607b19cc1ad85ee633555bb656dc16288..dbed5bd9403216298e3bbbdb06d3005b1693092e 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html
@@ -29,7 +29,7 @@ var test = function()
InspectorTest.addSniffer(Sources.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
scriptFormatter._toggleFormatScriptSource();
}
-
+
function uiSourceCodeScriptFormatted()
{
formattedSourceFrame = panel.visibleView;
@@ -49,7 +49,7 @@ var test = function()
.then(() => InspectorTest.dumpBreakpointSidebarPane("while paused in raw"))
.then(() => InspectorTest.resumeExecution(next));
InspectorTest.removeBreakpoint(formattedSourceFrame, 3);
- scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode());
+ scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode(), true);
}
}
]);

Powered by Google App Engine
This is Rietveld 408576698