| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../http/tests/inspector/debugger-test.js"></script> |
| 5 | 5 |
| 6 <script> | 6 <script> |
| 7 function oneLineTestFunction() { return 0; } | 7 function oneLineTestFunction() { return 0; } |
| 8 </script> | 8 </script> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 { | 111 { |
| 112 InspectorTest.assertTrue(!!error); | 112 InspectorTest.assertTrue(!!error); |
| 113 InspectorTest.assertTrue(!breakpointId); | 113 InspectorTest.assertTrue(!breakpointId); |
| 114 next(); | 114 next(); |
| 115 } | 115 } |
| 116 } | 116 } |
| 117 ]); | 117 ]); |
| 118 | 118 |
| 119 function dumpBreakpointSidebarPane() | 119 function dumpBreakpointSidebarPane() |
| 120 { | 120 { |
| 121 var paneElement = WebInspector.panels.scripts.sidebarPanes.jsBreakpoints
.listElement | 121 var paneElement = WebInspector.panels.sources.sidebarPanes.jsBreakpoints
.listElement |
| 122 InspectorTest.addResult(""); | 122 InspectorTest.addResult(""); |
| 123 InspectorTest.addResult("Dump breakpoint sidebar pane:"); | 123 InspectorTest.addResult("Dump breakpoint sidebar pane:"); |
| 124 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem
ent)); | 124 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem
ent)); |
| 125 } | 125 } |
| 126 | 126 |
| 127 function setBreakpointAndWaitUntilPaused(sourceFrame, lineNumber, pausedCall
back) | 127 function setBreakpointAndWaitUntilPaused(sourceFrame, lineNumber, pausedCall
back) |
| 128 { | 128 { |
| 129 var expectedBreakpointId; | 129 var expectedBreakpointId; |
| 130 InspectorTest.addSniffer(WebInspector.BreakpointManager.Breakpoint.proto
type, "_didSetBreakpointInDebugger", didSetBreakpointInDebugger); | 130 InspectorTest.addSniffer(WebInspector.BreakpointManager.Breakpoint.proto
type, "_didSetBreakpointInDebugger", didSetBreakpointInDebugger); |
| 131 InspectorTest.setBreakpoint(sourceFrame, lineNumber, "", true); | 131 InspectorTest.setBreakpoint(sourceFrame, lineNumber, "", true); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 150 </script> | 150 </script> |
| 151 </head> | 151 </head> |
| 152 | 152 |
| 153 <body onload="runTest()"> | 153 <body onload="runTest()"> |
| 154 <p> | 154 <p> |
| 155 Tests setting breakpoints. | 155 Tests setting breakpoints. |
| 156 </p> | 156 </p> |
| 157 | 157 |
| 158 </body> | 158 </body> |
| 159 </html> | 159 </html> |
| OLD | NEW |