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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html

Issue 2491983002: [DevTools] reworked JavaScriptBreakpointsSidebarPane.js (Closed)
Patch Set: labal :( 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-breakpoints/set-conditional-breakpoint.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html
index b310a79d66c5bb14fa028fcc550313c568d8a565..201e6adbf763015d8d8dccc3151009bb86316b37 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html
@@ -41,7 +41,7 @@ var test = function()
InspectorTest.addResult("Script execution paused.");
InspectorTest.captureStackTrace(callFrames);
InspectorTest.dumpBreakpointSidebarPane();
- InspectorTest.addSniffer(currentSourceFrame, "_removeBreakpointDecoration", breakpointRemoved);
+ InspectorTest.waitBreakpointSidebarPane().then(breakpointRemoved);
InspectorTest.removeBreakpoint(currentSourceFrame, 16);
}
@@ -68,7 +68,7 @@ var test = function()
InspectorTest.addResult("Script source was shown.");
setBreakpoint(currentSourceFrame, 16, "false");
InspectorTest.runTestFunction();
- InspectorTest.addConsoleSniffer(testFunctionFinished);
+ InspectorTest.waitBreakpointSidebarPane().then(testFunctionFinished);
}
@@ -76,7 +76,7 @@ var test = function()
{
InspectorTest.addResult("Test function finished.");
InspectorTest.dumpBreakpointSidebarPane();
- InspectorTest.addSniffer(currentSourceFrame, "_removeBreakpointDecoration", breakpointRemoved);
+ InspectorTest.waitBreakpointSidebarPane().then(breakpointRemoved);
InspectorTest.removeBreakpoint(currentSourceFrame, 16);
}

Powered by Google App Engine
This is Rietveld 408576698