Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 InspectorTest.addResult("Breakpoints removed."); 85 InspectorTest.addResult("Breakpoints removed.");
86 InspectorTest.dumpBreakpointSidebarPane(); 86 InspectorTest.dumpBreakpointSidebarPane();
87 next(); 87 next();
88 } 88 }
89 }, 89 },
90 ]); 90 ]);
91 91
92 function setBreakpoint(sourceFrame, lineNumber, condition, callback) 92 function setBreakpoint(sourceFrame, lineNumber, condition, callback)
93 { 93 {
94 var expectedBreakpointId; 94 var expectedBreakpointId;
95 InspectorTest.addSniffer(WebInspector.BreakpointManager.TargetBreakpoint .prototype, "_didSetBreakpointInDebugger", didSetBreakpointInDebugger); 95 InspectorTest.addSniffer(Bindings.BreakpointManager.TargetBreakpoint.pro totype, "_didSetBreakpointInDebugger", didSetBreakpointInDebugger);
96 InspectorTest.setBreakpoint(sourceFrame, lineNumber, condition, true); 96 InspectorTest.setBreakpoint(sourceFrame, lineNumber, condition, true);
97 97
98 function didSetBreakpointInDebugger(breakpointManagerCallback, breakpoin tId) 98 function didSetBreakpointInDebugger(breakpointManagerCallback, breakpoin tId)
99 { 99 {
100 if (callback) 100 if (callback)
101 callback(breakpointId); 101 callback(breakpointId);
102 } 102 }
103 } 103 }
104 104
105 function setBreakpointAndWaitUntilPaused(sourceFrame, lineNumber, condition, pausedCallback) 105 function setBreakpointAndWaitUntilPaused(sourceFrame, lineNumber, condition, pausedCallback)
(...skipping 21 matching lines...) Expand all
127 </script> 127 </script>
128 </head> 128 </head>
129 129
130 <body onload="runTest()"> 130 <body onload="runTest()">
131 <p> 131 <p>
132 Tests setting breakpoints. 132 Tests setting breakpoints.
133 </p> 133 </p>
134 134
135 </body> 135 </body>
136 </html> 136 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698