3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/network-test.js"></script>
9 var request
= new WebInspector
.NetworkRequest(WebInspector
.targetManager
.mainTarget(), url
, url
, "", "", "");
10 InspectorTest
.addResult("URL: " + url
);
11 InspectorTest
.addResult("Query: " + request
.queryString());
12 InspectorTest
.addResult("");
15 checkURL("http://webkit.org");
16 checkURL("http://webkit.org?foo");
17 checkURL("http://webkit.org#bar");
18 checkURL("http://webkit.org?foo#bar");
19 checkURL("http://webkit.org?foo=bar?baz");
20 checkURL("http://webkit.org?foo?bar#baz");
22 InspectorTest
.completeTest();
27 <body onload=
"runTest()">
28 <p>Tests query string extraction.
</p>