Bug 1942639 - Propagate --filter argument from desktop_unittest.py to runreftest...
[gecko.git] / dom / url / tests / test_unknown_url_origin.html
blobe44e45393c797d157cd2620d42269bdc0bd1a05c
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test for unknown URL.origin</title>
6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
8 </head>
9 <body>
10 <script type="application/javascript">
12 is((new URL("blob:http://foo.com/bar")).origin, "http://foo.com");
13 is((new URL("blob:blob:http://foo.com/bar")).origin, "null");
15 </script>
16 </body>
17 </html>