Chromium Code Reviews| 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(); |
| } |
| }, |