Index: test/inspector/debugger/set-breakpoint-before-enabling.js |
diff --git a/test/inspector/debugger/set-breakpoint-before-enabling.js b/test/inspector/debugger/set-breakpoint-before-enabling.js |
index d905847b59d7a7068615d8b0f2a6de77835eeff2..8480aa6f75d6691672222dfaa1783c9e543bd60d 100644 |
--- a/test/inspector/debugger/set-breakpoint-before-enabling.js |
+++ b/test/inspector/debugger/set-breakpoint-before-enabling.js |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.sendCommand("Debugger.setBreakpointByUrl", { url: "http://example.com", lineNumber: 10 }, didSetBreakpointByUrlBeforeEnable); |
+Protocol.Debugger.setBreakpointByUrl({ url: "http://example.com", lineNumber: 10 }).then(didSetBreakpointByUrlBeforeEnable); |
function didSetBreakpointByUrlBeforeEnable(message) |
{ |
InspectorTest.log("setBreakpointByUrl error: " + JSON.stringify(message.error, null, 2)); |
- InspectorTest.sendCommand("Debugger.setBreakpoint", {}, didSetBreakpointBeforeEnable); |
+ Protocol.Debugger.setBreakpoint().then(didSetBreakpointBeforeEnable); |
} |
function didSetBreakpointBeforeEnable(message) |