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