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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-fetch-logging.html

Issue 1877223003: DevTools: deprecate InspectorTest.runAfterPendingDispatches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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="console-test.js"></script> 4 <script src="console-test.js"></script>
5 <script src="network-test.js"></script> 5 <script src="network-test.js"></script>
6 <script> 6 <script>
7 function requestHelper(method, url, callback) 7 function requestHelper(method, url, callback)
8 { 8 {
9 console.log("sending a " + method + " request to " + url); 9 console.log("sending a " + method + " request to " + url);
10 // Delay invoking callback to let didFinishLoading() a chance to fire and lo g 10 // Delay invoking callback to let didFinishLoading() a chance to fire and lo g
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 InspectorTest.NetworkAgent.setMonitoringXHREnabled(false, callback); 67 InspectorTest.NetworkAgent.setMonitoringXHREnabled(false, callback);
68 } 68 }
69 69
70 function step3() 70 function step3()
71 { 71 {
72 function finish() 72 function finish()
73 { 73 {
74 InspectorTest.dumpConsoleMessages(); 74 InspectorTest.dumpConsoleMessages();
75 InspectorTest.completeTest(); 75 InspectorTest.completeTest();
76 } 76 }
77 InspectorTest.runAfterPendingDispatches(finish); 77 InspectorTest.deprecatedRunAfterPendingDispatches(finish);
78 } 78 }
79 } 79 }
80 //# sourceURL=console-fetch-logging.html 80 //# sourceURL=console-fetch-logging.html
81 </script> 81 </script>
82 </head> 82 </head>
83 83
84 <body onload="runTest()"> 84 <body onload="runTest()">
85 <p> 85 <p>
86 Tests that fetch logging works when XMLHttpRequest Logging is Enabled and doesn' t show logs when it is Disabled. 86 Tests that fetch logging works when XMLHttpRequest Logging is Enabled and doesn' t show logs when it is Disabled.
87 </p> 87 </p>
88 88
89 </body> 89 </body>
90 </html> 90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698