Bug 1943650 - Command-line --help output misformatted after --dbus-service. r=emilio
[gecko.git] / dom / url / tests / test_urlSearchParams.html
blobd86959ab64aa6e19c2c4e86abea793e75b158f68
2 <!DOCTYPE HTML>
3 <html>
4 <!--
5 https://bugzilla.mozilla.org/show_bug.cgi?id=887836
6 -->
7 <head>
8 <meta charset="utf-8">
9 <title>Test for URLSearchParams</title>
10 <script src="/tests/SimpleTest/SimpleTest.js"></script>
11 <script type="application/javascript" src="urlSearchParams_commons.js"></script>
12 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
13 </head>
14 <body>
15 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=887836">Mozilla Bug 887836</a>
16 <p id="display"></p>
17 <div id="content" style="display: none">
18 <iframe name="x" id="x"></iframe>
19 <iframe name="y" id="y"></iframe>
20 </div>
21 <pre id="test">
22 </pre>
23 <script type="application/javascript">
25 /** Test for Bug 887836 **/
26 ok("URLSearchParams" in window, "window.URLSearchParams exists");
28 var tests = [
29 testSimpleURLSearchParams,
30 testCopyURLSearchParams,
31 testParserURLSearchParams,
32 testURL,
33 testEncoding,
34 testOrdering,
35 testDelete,
36 testGetNULL,
37 testSet,
38 testIterable,
39 testZeroHandling,
40 testCopyConstructor,
41 testCTORs,
44 function runTest() {
45 if (!tests.length) {
46 SimpleTest.finish();
47 return;
50 var test = tests.shift();
51 test();
54 SimpleTest.waitForExplicitFinish();
55 runTest();
57 </script>
58 </body>
59 </html>