| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html
|
| index de3682e0aa1c8b288660030c09d7024127d92808..14e017ab870600bf2fbdc8de4f6b131d5e4a84c1 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html
|
| @@ -113,7 +113,7 @@ function test()
|
|
|
| function didShowScriptSource(sourceFrame)
|
| {
|
| - InspectorTest.addSniffer(sourceFrame, "_addBreakpointDecoration", breakpointAdded);
|
| + InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame).then(breakpointAdded);
|
| InspectorTest.setBreakpoint(sourceFrame, 2, "", true);
|
| }
|
|
|
| @@ -140,12 +140,12 @@ function test()
|
| function didShowScriptSource(sourceFrame)
|
| {
|
| testSourceFrame = sourceFrame;
|
| - InspectorTest.addSniffer(sourceFrame, "_addBreakpointDecoration", uiBreakpointAdded);
|
| + InspectorTest.waitJavaScriptSourceFrameBreakpoints(testSourceFrame).then(uiBreakpointAdded);
|
| InspectorTest.setBreakpoint(sourceFrame, 3, "", true);
|
| }
|
|
|
| function uiBreakpointAdded() {
|
| - InspectorTest.addSniffer(testSourceFrame, "_addBreakpointDecoration", breakpointAdded);
|
| + InspectorTest.waitJavaScriptSourceFrameBreakpoints(testSourceFrame).then(breakpointAdded);
|
| }
|
|
|
| function breakpointAdded()
|
|
|