- From: Simon Sapin <notifications@github.com>
- Date: Fri, 22 Apr 2016 05:14:31 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc:
Received on Friday, 22 April 2016 12:14:58 UTC
The `href` setter of `URL` objects is currently: > Let parsedURL be the result of running the basic URL parser on the given value. > If parsedURL is failure, throw a TypeError exception. > Set context object’s url to parsedURL. This looks like it’s missing additional steps to propagate the change to `searchParams`, as tested in https://github.com/w3c/web-platform-tests/blob/0a518aaff/url/url-constructor.html#L121-L123. Something like: > Let query be parsedURL’s query, if that is non-null, and the empty string otherwise. > Set context object’s query object to a new URLSearchParams object using query, and then set that query object’s url object to context object. (Similar to what the `URL` constructor does.) --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/117
Received on Friday, 22 April 2016 12:14:58 UTC