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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.html

Issue 2191183003: DevTools: extract model from DOMBreakpointsSidebarPane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address CL feedback from PS6 Created 4 years, 4 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/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 eed5d2665e575f0ba1329626873d86b1bf6c6e4f..79e1b50f78015f37c72c6402f340207cd1e4bf92 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
@@ -71,11 +71,10 @@ function test()
function didResolveNode(node)
{
testRunner.logToStderr("didResolveNode");
- var pane = WebInspector.domBreakpointsSidebarPane;
InspectorTest.addResult("Set up DOM breakpoints.");
- pane._setBreakpoint(node, pane._breakpointTypes.SubtreeModified, true);
- pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true);
- pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.SubtreeModified, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.AttributeModified, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.NodeRemoved, true);
setUpEventBreakpoints();
}

Powered by Google App Engine
This is Rietveld 408576698