Revision eb2dcea8c200288b69f1e74a2a796d7f04210e14 authored by Ms2ger on 26 April 2016, 12:59:51 UTC, committed by Ms2ger on 26 April 2016, 12:59:51 UTC
Merge pull request #2905 from sync_63c1140a0116a038e14855183c7f54b8526aca2d
2 parent s da52df1 + 63c1140
Raw File
historical.worker.js
importScripts("/resources/testharness.js");

test(function() {
  assert_false("searchParams" in self.location,
               "location object should not have a searchParams attribute");
}, "searchParams on location object");

test(function() {
  var url = new URL("./foo", "http://www.example.org");
  assert_equals(url.href, "http://www.example.org/foo");
  assert_throws(new TypeError(), function() {
    url.href = "./bar";
  });
}, "Setting URL's href attribute and base URLs");

done();
back to top