Revision 1ea4f53a5b0fe9705b1ed279a3904ab173e98393 authored by Rimas on 22 February 2017, 17:53:27 UTC, committed by Domenic Denicola on 22 February 2017, 17:53:27 UTC
Fixes two test cases where the "failure" value was the string "true" instead of the boolean.
1 parent 9b41b6d
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");
test(function() {
assert_equals(URL.domainToASCII, undefined);
}, "URL.domainToASCII should be undefined");
test(function() {
assert_equals(URL.domainToUnicode, undefined);
}, "URL.domainToUnicode should be undefined");
done();
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...