Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector / console-xhr-logging-async.html
blobb8961ea252d8b0848174f1f2dbd8841ebc921668
1 <html>
2 <head>
3 <script src="inspector-test.js"></script>
4 <script src="console-test.js"></script>
5 <script src="network-test.js"></script>
6 <script>
7 function test()
9 step1();
11 function makeRequest(callback)
13 InspectorTest.makeSimpleXHR("GET", "resources/xhr-exists.html", true, callback);
16 function step1()
18 function callback()
20 makeRequest(step2);
23 InspectorTest.NetworkAgent.setMonitoringXHREnabled(true, callback);
26 function step2()
28 function callback()
30 makeRequest(step3);
33 InspectorTest.NetworkAgent.setMonitoringXHREnabled(false, callback);
36 function step3()
38 function finish()
40 InspectorTest.dumpConsoleMessages();
41 InspectorTest.completeTest();
43 InspectorTest.runAfterPendingDispatches(finish);
47 </script>
48 </head>
50 <body onload="runTest()">
51 <p>Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled for asynchronous XHRs.</p>
52 <a href="https://bugs.webkit.org/show_bug.cgi?id=79229">Bug 79229</a>
53 </body>
54 </html>