Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector / network / network-xhr-same-url-as-main-resource.html
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../network-test.js"></script>
5 <script>
6 function test()
7 {
8     InspectorTest.recordNetwork();
9     InspectorTest.makeSimpleXHR("GET", "network-xhr-same-url-as-main-resource.html", true, step2);
10
11     function step2()
12     {
13         var request1 = InspectorTest.networkRequests().pop();
14         InspectorTest.addResult(request1.type.name());
15         InspectorTest.completeTest();
16     }
17 }
18 </script>
19 </head>
20 <body onload="runTest()">
21 <p>Tests that XHRs with the same url as a main resource have correct category.</p>
22 <a href="https://bugs.webkit.org/show_bug.cgi?id=68648">Bug 68648</a>
23 </body>
24 </html>