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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger/fetch-breakpoints.html

Issue 2234193002: DevTools: migrate some of the sources panel sidebar panes to view management, allow view toolbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 months 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 = WebInspector.panels.sources.sidebarPanes.xhrBreakpoints; 14 var pane = self.runtime.sharedInstance(WebInspector.XHRBreakpointsSidebarPan e);
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements/event-listeners-framework-with-service-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698