This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In http://url.spec.whatwg.org/#urlutils-and-urlutilsreadonly-members > Setting the search attribute must run these steps: > > 1. If url is null, or its relative flag is unset, terminate these steps. > > 2. [...] However, URLs with the relative flag unset can have a query string set by the parser. Blocking the setter seems superfluous. (Compared, say, to setting the hostname which does make sense for non-relative URLs.)
https://github.com/whatwg/url/commit/f3bd39040ee1a2aabe0863879f2fc74f17c3b0f0