Closed
Bug 1268361
Opened 9 years ago
Closed 9 years ago
Strip leading '?' in `new URLSearchParams(query)`
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: 446240525, Assigned: baku)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [DocArea=DOM])
Attachments
(1 file)
1.99 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
> new URLSearchParams("?a=1").get("a")
null // should be "1"
see https://github.com/whatwg/url/issues/81, already in Chrome 52
Keywords: dev-doc-needed
Whiteboard: [DocArea=DOM]
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → amarchesini
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8746454 -
Flags: review?(bugs)
Comment 2•9 years ago
|
||
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+
Comment 4•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Comment 5•9 years ago
|
||
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
Updated•9 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•