Re: [url] Confused about the constructor argument types (#80)

@annevk thanks for your response, but I'm still confused.

The following two sentences seem contradictory:
"If you pass a URL object it will be stringified and end up working fine."
"We decided it was not worth it to also directly accept objects in the JavaScript API."

Right now, [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) is giving examples with URL objects being passed in as the second argument of the constructor. However, the [JSDom polyfill implementation](https://github.com/jsdom/whatwg-url) explicitly errors when you do that. Which one is wrong?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/80#issuecomment-173970609

Received on Friday, 22 January 2016 16:35:15 UTC