Open Octane opened 8 years ago
The URL polyfill delegates to the native implementation of an anchor ("A") element if URL isn't present. So that would indicate that PhantomJS's implementation is buggy. Can you repro with just that, and file a bug against it if so?
(I don't consider it a priority for this library to paper over every single implementation bug, especially for non-browser use cases.)
And getting it fixed in PhantomJS would also enable Travis-CI testing, if someone wants to learn me some of that...
The
url.js
returns different results in the browser and PhantomJS.Test case
Results