Closed Bug 1352379 Opened 7 years ago Closed 7 years ago

Add a test for URLSearchParams and record<> CTOR

Categories

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

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

Attachments

(2 files)

      No description provided.
Assignee: nobody → amarchesini
Attachment #8853371 - Flags: review?(kyle)
Attachment #8853372 - Flags: review?(kyle)
That test doesn't check what sort of string conversion happens on the keys.  In particular, it should check whether they're treated as ByteString, DOMString, or USVString.  That means you need key names containing non-ASCII-range things, and some unpaired surrogates or something.

And this should be a web platform test, not a mochitest.
Attachment #8853371 - Flags: review?(kyle) → review+
Attachment #8853372 - Flags: review?(kyle) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/48c4cf6ed127
Remove an extra 2 spaces in urlSearchParams_commons.js, r=qdot
https://hg.mozilla.org/integration/mozilla-inbound/rev/d80e127d7323
Add a test for URLSearchParams and record<> CTOR, r=qdot
This test doesn't test the things I asked for it to test.  See comment 3.
Flags: needinfo?(amarchesini)
https://hg.mozilla.org/mozilla-central/rev/48c4cf6ed127
https://hg.mozilla.org/mozilla-central/rev/d80e127d7323
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Depends on: 1353197
I filed bug 1353197 on what this bug was _supposed_ to be about.
Flags: needinfo?(amarchesini)
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: