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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html

Issue 2505413002: [DevTools] Prepare JavaScriptSourceFrame for multiple breakpoints per line (Closed)
Patch Set: added test for decorations, edit one is coming 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-ui/source-frame.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
index ab4d7b3f685a4e4df98be12fc8d368fecd11ad4d..6addef29f627b1d06d7f712314fea8be2ed036d4 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
@@ -27,13 +27,13 @@ function test()
function didShowScriptSource(sourceFrame)
{
InspectorTest.addResult("Script source was shown.");
- InspectorTest.addSniffer(Sources.JavaScriptSourceFrame.prototype, "_addBreakpointDecoration", didAddBreakpoint);
+ InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame).then(didAddBreakpoint);
InspectorTest.setBreakpoint(sourceFrame, 14, "", true);
}
function didAddBreakpoint(lineNumber)
lushnikov 2016/11/18 21:44:46 you don't use lineNumber
kozy 2016/11/19 00:46:09 removed, more robust test was added.
{
- InspectorTest.addResult("Breakpoint added to source frame at line " + lineNumber);
+ InspectorTest.addResult("Breakpoint added to source frame");
next();
}
},

Powered by Google App Engine
This is Rietveld 408576698