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

Unified Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 11 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-enabled/sources/debugger/script-formatter-console.html
diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html
index 1e46130dd320c3d4b4110fa7be4b5bc4d8d341a0..d8b3a986dce574ceb45bcb4b6f1ab3379239b276 100644
--- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html
+++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html
@@ -51,8 +51,9 @@ var test = function()
dumpConsoleMessageURLs();
InspectorTest.addResult("Pre-format row message list:");
InspectorTest.addResult(JSON.stringify(Object.keys(sourceFrame._rowMessageBuckets)));
- InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
+ var name = panel.visibleView.uiSourceCode().name();
scriptFormatter._toggleFormatScriptSource();
+ InspectorTest.showScriptSource(name + ":formatted", uiSourceCodeScriptFormatted);
}
function uiSourceCodeScriptFormatted()

Powered by Google App Engine
This is Rietveld 408576698