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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/dom-breakpoints-editing-dom-from-inspector.html

Issue 2255983002: DevTools: refactor and fix bugs for DOMBreakpointsSidebarPane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address CL feedback 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..890bc8aa841094cb19f69f6b5dcae278acaf8e68 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,7 +7,6 @@
function test()
{
-
var pane = WebInspector.domBreakpointsSidebarPane;
InspectorTest.runDebuggerTestSuite([
function testRemoveNode(next)
@@ -17,7 +16,7 @@ function test()
function step2(node)
{
- pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true);
InspectorTest.addResult("Set NodeRemoved DOM breakpoint.");
node.removeNode(next);
}
@@ -30,7 +29,7 @@ function test()
function step2(node)
{
- pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true);
+ WebInspector.domBreakpointManager.setBreakpoint(node, pane._breakpointTypes.AttributeModified, true);
InspectorTest.addResult("Set AttributeModified DOM breakpoint.");
node.setAttribute("title", "a title", next);
}

Powered by Google App Engine
This is Rietveld 408576698