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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/reveal-not-skipped.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/reveal-not-skipped.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/reveal-not-skipped.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/reveal-not-skipped.html
index 80b33f15b9b0d48eae9255b13efbb5891052985c..51f7096b2bad45df19c7188e1bd2d07226965216 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/reveal-not-skipped.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/reveal-not-skipped.html
@@ -13,8 +13,8 @@ function throwAnException()
var test = function()
{
- var panel = WebInspector.panels.sources;
- InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+ var panel = UI.panels.sources;
+ InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
InspectorTest.runDebuggerTestSuite([
function testRevealAfterPausedOnException(next)
@@ -27,7 +27,7 @@ var test = function()
InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
InspectorTest.addResult("Throwing exception...");
InspectorTest.evaluateInPage("setTimeout(throwAnException, 0)");
- InspectorTest.addSniffer(WebInspector.TabbedEditorContainer.prototype, "showFile", step3);
+ InspectorTest.addSniffer(Sources.TabbedEditorContainer.prototype, "showFile", step3);
}
function step3()
@@ -48,7 +48,7 @@ var test = function()
InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
InspectorTest.addResult("Throwing exception...");
InspectorTest.evaluateInPage("setTimeout(throwAnException, 0)");
- InspectorTest.addSniffer(WebInspector.TabbedEditorContainer.prototype, "showFile", step6);
+ InspectorTest.addSniffer(Sources.TabbedEditorContainer.prototype, "showFile", step6);
}
function step6()
@@ -73,7 +73,7 @@ var test = function()
InspectorTest.addResult("Script source was shown for '" + panel.visibleView._uiSourceCode.name() + "'.");
InspectorTest.addResult("Formatting...");
InspectorTest.scriptFormatter().then(function(scriptFormatter) {
- InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
+ InspectorTest.addSniffer(Sources.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
scriptFormatter._toggleFormatScriptSource();
});
}

Powered by Google App Engine
This is Rietveld 408576698