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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-xhr-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) 7 function requestHelper(method, url)
8 { 8 {
9 // Make synchronous requests for simplicity. 9 // Make synchronous requests for simplicity.
10 console.log("sending a %s request to %s", method, url); 10 console.log("sending a %s request to %s", method, url);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 InspectorTest.NetworkAgent.setMonitoringXHREnabled(false, callback); 45 InspectorTest.NetworkAgent.setMonitoringXHREnabled(false, callback);
46 } 46 }
47 47
48 function step3() 48 function step3()
49 { 49 {
50 function finish() 50 function finish()
51 { 51 {
52 InspectorTest.dumpConsoleMessages(); 52 InspectorTest.dumpConsoleMessages();
53 InspectorTest.completeTest(); 53 InspectorTest.completeTest();
54 } 54 }
55 InspectorTest.runAfterPendingDispatches(finish); 55 InspectorTest.deprecatedRunAfterPendingDispatches(finish);
56 } 56 }
57 } 57 }
58 //# sourceURL=console-xhr-logging.html 58 //# sourceURL=console-xhr-logging.html
59 </script> 59 </script>
60 </head> 60 </head>
61 61
62 <body onload="runTest()"> 62 <body onload="runTest()">
63 <p> 63 <p>
64 Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled. 64 Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
65 </p> 65 </p>
66 66
67 </body> 67 </body>
68 </html> 68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698