Re: [whatwg/url] Provide means to "strip query" (#247)

Uhm, why does it look like a hack? Assigning a different string to `search` modifies the query, that is clearly speced. Your example works totally fine (Chrome):
```js
Object.assign(new URL('http://github.com/hello/world?q=v'), { search: 'test' }).href
"http://github.com/hello/world?test"
```

-- 
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/247#issuecomment-300712416

Received on Thursday, 11 May 2017 07:58:07 UTC