This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23522 - URLSearchParams.toString()
Summary: URLSearchParams.toString()
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 13:24 UTC by Rodney Rehm
Modified: 2014-01-14 17:23 UTC (History)
2 users (show)

See Also:


Attachments

Description Rodney Rehm 2013-10-15 13:24:23 UTC
URLQuery doesn't explicitly mention having a .toString() method returning a
serialization of the internal name-value list. This must be mentioned in order for URLQuery to be usable for constructing a query string apart from a URL instance.
Comment 1 Anne 2013-10-15 14:01:21 UTC
Note to self: even if we add this special casing in XMLHttpRequest is still useful to set the MIME type correctly. Though the special casing could maybe defer to stringifying rather than serializing the object...
Comment 3 Anne 2014-01-14 17:23:54 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=959684 for Gecko.