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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger/fetch-breakpoints.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="../inspector-test.js"></script> 3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script> 4 <script src="../debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function sendRequest(url) 7 function sendRequest(url)
8 { 8 {
9 fetch(url); 9 fetch(url);
10 } 10 }
11 11
12 function test() 12 function test()
13 { 13 {
14 var pane = self.runtime.sharedInstance(WebInspector.XHRBreakpointsSidebarPan e); 14 var pane = self.runtime.sharedInstance(Sources.XHRBreakpointsSidebarPane);
15 InspectorTest.runDebuggerTestSuite([ 15 InspectorTest.runDebuggerTestSuite([
16 function testFetchBreakpoint(next) 16 function testFetchBreakpoint(next)
17 { 17 {
18 pane._setBreakpoint("foo", true); 18 pane._setBreakpoint("foo", true);
19 InspectorTest.waitUntilPaused(step1); 19 InspectorTest.waitUntilPaused(step1);
20 InspectorTest.evaluateInPageWithTimeout("sendRequest('/foo?a=b')"); 20 InspectorTest.evaluateInPageWithTimeout("sendRequest('/foo?a=b')");
21 21
22 function step1(callFrames) 22 function step1(callFrames)
23 { 23 {
24 InspectorTest.captureStackTrace(callFrames); 24 InspectorTest.captureStackTrace(callFrames);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 </script> 93 </script>
94 </head> 94 </head>
95 95
96 <body onload="runTest()"> 96 <body onload="runTest()">
97 <p> 97 <p>
98 Tests fetch() breakpoints. 98 Tests fetch() breakpoints.
99 </p> 99 </p>
100 100
101 </body> 101 </body>
102 </html> 102 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698