dom/url/tests/test_unknown_url_origin.html
author danielleleb <danielleleb12@gmail.com>
Tue, 12 Mar 2019 17:38:47 +0000
changeset 521608 f87b1c69a88d995473d2351fa55247774be9c395
parent 343073 85bb953e8fd0b2fd73b216a7c014bd72236bcd1f
child 528458 ba6f655fd68963530c866d0d4a48c3db3d307777
permissions -rw-r--r--
Bug 1532934 - Enable ESLint for dom/url (automatic changes). r=Standard8,baku Differential Revision: https://phabricator.services.mozilla.com/D22736

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test for unknwon URL.origin</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
  <script type="application/javascript">

  is((new URL("blob:http://foo.com/bar")).origin, "http://foo.com");
  is((new URL("blob:blob:http://foo.com/bar")).origin, "http://foo.com");

  </script>
</body>
</html>