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