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

Unified Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.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-enabled/sources/debugger/script-formatter-breakpoints-4.html
diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html
index 1fd2bcce48bbc4184d7f87ba44648ace347e9e90..adec6b51cd731596a6b9ce7b004c31d45d177f41 100644
--- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html
+++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html
@@ -24,8 +24,8 @@ function onload()
var test = function()
{
- WebInspector.breakpointManager._storage._breakpoints = {};
- var panel = WebInspector.panels.sources;
+ Bindings.breakpointManager._storage._breakpoints = {};
+ var panel = UI.panels.sources;
var scriptFormatter;
InspectorTest.runDebuggerTestSuite([
@@ -44,14 +44,14 @@ var test = function()
function didShowScriptSource(sourceFrame)
{
InspectorTest.addResult("Adding breakpoint.");
- InspectorTest.addSniffer(WebInspector.BreakpointManager.TargetBreakpoint.prototype, "_addResolvedLocation", breakpointResolved);
+ InspectorTest.addSniffer(Bindings.BreakpointManager.TargetBreakpoint.prototype, "_addResolvedLocation", breakpointResolved);
InspectorTest.setBreakpoint(sourceFrame, 11, "", true);
}
function breakpointResolved()
{
InspectorTest.addResult("Formatting.");
- InspectorTest.addSniffer(WebInspector.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
+ InspectorTest.addSniffer(Sources.ScriptFormatterEditorAction.prototype, "_updateButton", uiSourceCodeScriptFormatted);
scriptFormatter._toggleFormatScriptSource();
}
@@ -62,7 +62,7 @@ var test = function()
InspectorTest.removeBreakpoint(formattedSourceFrame, 13);
InspectorTest.addResult("Unformatting.");
scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode());
- var breakpoints = WebInspector.breakpointManager._storage._setting.get();
+ var breakpoints = Bindings.breakpointManager._storage._setting.get();
InspectorTest.assertEquals(breakpoints.length, 0, "There should not be any breakpoints in the storage.");
next();
}

Powered by Google App Engine
This is Rietveld 408576698