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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.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-pause/skip-pauses-until-reload.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.html
index 974e17bb5f2b6b2f8955907b5ca9aa88708f5484..5e2bc98f9fcd6113d31c4458dba5fb4a2a567ca1 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.html
@@ -63,7 +63,7 @@ function test()
InspectorTest.setBreakpoint(sourceFrame, 12, "", true);
InspectorTest.addResult("Set up to pause on all exceptions.");
// FIXME: Test is flaky with PauseOnAllExceptions due to races in debugger.
- InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.DontPauseOnExceptions);
+ InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.PauseOnExceptionsState.DontPauseOnExceptions);
InspectorTest.nodeWithId("element", didResolveNode);
testRunner.logToStderr("didShowScriptSource");
}
@@ -71,18 +71,18 @@ function test()
function didResolveNode(node)
{
testRunner.logToStderr("didResolveNode");
- var pane = WebInspector.domBreakpointsSidebarPane;
+ var pane = Components.domBreakpointsSidebarPane;
InspectorTest.addResult("Set up DOM breakpoints.");
- pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.SubtreeModified, true);
- pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.AttributeModified, true);
- pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.NodeRemoved, true);
+ pane._setBreakpoint(node, Components.DOMBreakpointsSidebarPane.BreakpointTypes.SubtreeModified, true);
+ pane._setBreakpoint(node, Components.DOMBreakpointsSidebarPane.BreakpointTypes.AttributeModified, true);
+ pane._setBreakpoint(node, Components.DOMBreakpointsSidebarPane.BreakpointTypes.NodeRemoved, true);
setUpEventBreakpoints();
}
function setUpEventBreakpoints()
{
testRunner.logToStderr("setUpEventBreakpoints");
- var pane = self.runtime.sharedInstance(WebInspector.EventListenerBreakpointsSidebarPane);
+ var pane = self.runtime.sharedInstance(Sources.EventListenerBreakpointsSidebarPane);
InspectorTest.addResult("Set up Event breakpoints.");
pane._setBreakpoint("listener:click");
InspectorTest.deprecatedRunAfterPendingDispatches(didSetUp);
@@ -136,7 +136,7 @@ function test()
function completeTest()
{
testRunner.logToStderr("completeTest");
- var pane = self.runtime.sharedInstance(WebInspector.EventListenerBreakpointsSidebarPane);
+ var pane = self.runtime.sharedInstance(Sources.EventListenerBreakpointsSidebarPane);
pane._removeBreakpoint("listener:click");
InspectorTest.completeDebuggerTest();
}

Powered by Google App Engine
This is Rietveld 408576698