Work around broken URL constructor in PhantomJS 2.x
Under PhantomJS 2.x `new URL(uri)` works, so the feature test in `polyfills.js` passes, but the resulting URL object is an apparently empty object. Properties such as `hostname` and `href` are missing for example. Load the URL polyfill explicitly in the Karma-specific polyfill module.
Showing
Please register or sign in to comment