| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |