Closed Bug 1268361 Opened 9 years ago Closed 9 years ago

Strip leading '?' in `new URLSearchParams(query)`

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

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)

> 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: nobody → amarchesini
Attachment #8746454 - Flags: review?(bugs)
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+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: