Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to implement and ship: URLSearchParams from array or object

28 views
Skip to first unread message

Andrea Marchesini

unread,
Jan 17, 2017, 12:11:21 PM1/17/17
to dev-platform
Summary: URLSearchParams constructor is changed in the latest URL spec.
Now it's possible to create URLSearchParams objects starting from a string,
an array and from an object.

Bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1330678
<https://bugzilla.mozilla.org/show_bug.cgi?id=1321623>
https://bugzilla.mozilla.org/show_bug.cgi?id=1330699
https://bugzilla.mozilla.org/show_bug.cgi?id=1331580

Link to standard:
https://url.spec.whatwg.org/#interface-urlsearchparams

Platform coverage: all platforms

Estimated or target release: Fx53

Preference behind which this will be implemented: none

DevTools bug: no need

Do other browser engines implement this? I don't know this, yet

Tests: WPT

Security & Privacy Concerns: none

smaug

unread,
Jan 18, 2017, 1:57:07 AM1/18/17
to Andrea Marchesini
So we'll get support for object too in FF53, not only array?

On 01/17/2017 07:11 PM, Andrea Marchesini wrote:
> Summary: URLSearchParams constructor is changed in the latest URL spec.
> Now it's possible to create URLSearchParams objects starting from a string,
> an array and from an object.
>
> Bugs:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1330678
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1321623>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1330699
> https://bugzilla.mozilla.org/show_bug.cgi?id=1331580
>

bug 1321623 has nothing to do with this ;)
0 new messages