Index: lib/url.js |
=================================================================== |
--- a/lib/url.js |
+++ b/lib/url.js |
@@ -20,7 +20,7 @@ |
let URL = window.URL || window.webkitURL; |
let URLProperties = ["href", "protocol", "host", "hostname", "port", "pathname", "search"]; |
- if (!URL || !URLProperties.every(prop => prop in new URL(""))) |
+ if (!URL || !URLProperties.every(prop => prop in new URL("about:blank"))) |
{ |
let doc = document.implementation.createHTMLDocument(); |