Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / debugger / debugger-setBreakpoint-before-enabling.html
blob24827692df6b3d0e803ed5365dc3d5ea92260082
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
4 <script>
6 function test()
8 InspectorTest.sendCommand("Debugger.setBreakpointByUrl", { url: "http://example.com", lineNumber: 10 }, didSetBreakpointByUrlBeforeEnable);
10 function didSetBreakpointByUrlBeforeEnable(message)
12 InspectorTest.log("setBreakpointByUrl error: " + JSON.stringify(message.error, null, 2));
13 InspectorTest.sendCommand("Debugger.setBreakpoint", {}, didSetBreakpointBeforeEnable);
16 function didSetBreakpointBeforeEnable(message)
18 InspectorTest.log("setBreakpoint error: " + JSON.stringify(message.error, null, 2));
19 InspectorTest.completeTest();
22 </script>
23 </head>
24 <body onLoad="runTest();">
25 </body>
26 </html>