Closed Bug 1268361 Opened 4 years ago Closed 4 years ago
Strip leading '?' in `new URLSearch
> new URLSearchParams("?a=1").get("a") null // should be "1" see https://github.com/whatwg/url/issues/81, already in Chrome 52
Comment on attachment 8746454 [details] [diff] [review] urlSearchParams.patch Please test also passing just '?', and '?=1' and something like that.
Attachment #8746454 - Flags: review?(bugs) → review+
Added a sentence in the description of https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams and https://developer.mozilla.org/en-US/Firefox/Releases/49#DOM_HTML_DOM
You need to log in before you can comment on or make changes to this bug.