Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.43k stars 435 forks source link

window.URL ? #596

Closed stevenvachon closed 8 years ago

stevenvachon commented 8 years ago

console.log(123, window.URL) only shows "123"

stevenvachon commented 8 years ago

Ah, it's an older WebKit that only has window.webkitURL and it can't' be instantiated:

TypeError: '[object DOMURL]' is not a constructor (evaluating 'new window.webkitURL("http://asdf.com/")')