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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.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-breakpoints/dom-breakpoints-editing-dom-from-inspector.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.html
index 7c125ece0383d274e846e0c2409187e0eda8f274..6b053e85c11fba94be5355e54f922d0a45a25d72 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.html
@@ -7,8 +7,6 @@
function test()
{
-
- var pane = WebInspector.domBreakpointsSidebarPane;
InspectorTest.runDebuggerTestSuite([
function testRemoveNode(next)
{
@@ -17,7 +15,7 @@ function test()
function step2(node)
{
- pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.NodeRemoved, true);
InspectorTest.addResult("Set NodeRemoved DOM breakpoint.");
node.removeNode(next);
}
@@ -30,7 +28,7 @@ function test()
function step2(node)
{
- pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.BreakpointTypes.AttributeModified, true);
InspectorTest.addResult("Set AttributeModified DOM breakpoint.");
node.setAttribute("title", "a title", next);
}

Powered by Google App Engine
This is Rietveld 408576698