- From: Wei Wang <notifications@github.com>
- Date: Fri, 22 Jan 2016 08:11:44 -0800
- To: whatwg/url <url@noreply.github.com>
Received on Friday, 22 January 2016 16:12:18 UTC
So, the spec's constructor interface says: ``` Constructor(USVString url, optional USVString base) ``` However, right below that it says that both the `url` and `base` param will be run through the [basic-url-parser](https://url.spec.whatwg.org/#concept-basic-url-parser), which claims it can accept both `string input` and `URL url`. Does this mean that the `URL()` constructor is also supposed to accept `URL` objects for its first and second arguments, in addition to `USVString`? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/80
Received on Friday, 22 January 2016 16:12:18 UTC