Make URLSearchParams not structured-cloneable
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: baku, Assigned: janv)
References
(Blocks 1 open bug)
Details
(Keywords: site-compat)
Attachments
(2 files, 2 obsolete files)
Comment 1•5 years ago
|
||
Thanks! And URL too.
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
We decided to wait with fixing this until post Covid-19 as there are some weird interactions with IDB (retrieving data would throw). And while probably nobody runs into that in practice, it's not worth the additional hassle at this point for the person that might.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Comment on attachment 9147359 [details]
Bug 1636761 - URLSearchParams serialized for XHR in workers, r?smaug
Revision D74712 was moved to bug 1637857. Setting attachment 9147359 [details] to obsolete.
Updated•5 years ago
|
Comment 6•3 years ago
|
||
I found this bug because of this comment: https://github.com/mdn/content/issues/21178#issuecomment-1264062972
Is it time to pick this back up?
Comment 7•3 years ago
|
||
I created https://github.com/web-platform-tests/wpt/pull/37994 to test that this isn't supported.
Updated•3 years ago
|
Comment 8•2 years ago
|
||
WebKit and Blink now both pass this test as of WebKit preview 170.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Hi Jens,
It seems the main issues with the patch landing are related to the indexeddb use.
Could the LWS team take this bug as part of the interop 2024 effort for indexeddb?
Assignee | ||
Comment 12•2 years ago
|
||
URLSearchParams already stored in IndexedDB can't be easily removed. So instead
of doing potentially massive database upgrade, URLSearchParams objects are
deserialized as empty objects from now on.
Depends on D199344
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
Backed out for causing mochitests failures in test_structuredCloneAndExposed.html.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | dom/tests/mochitest/whatwg/test_structuredCloneAndExposed.html | Test timed out. -
Assignee | ||
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Comment 16•2 years ago
•
|
||
Backed out for causing xpcshell failures in test_URLSearchParams.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | xpcshell.toml:dom/indexedDB/test/unit/test_URLSearchParams.js | xpcshell return code: 0
Assignee | ||
Comment 17•2 years ago
|
||
For some unknown reason the new test failed on autoland, but it works on try:
https://treeherder.mozilla.org/jobs?repo=try&revision=65a83ad4219f59c3c9cb256f85f022b65c125fed
Assignee | ||
Comment 18•2 years ago
|
||
Aha, the automatic reverting change in phab (done as part of the first backout) https://phabricator.services.mozilla.com/D199338?vs=814699&id=815391#toc zeroed the zip file in the patch. So when I landed it again, the zip file landed as zero sized.
Assignee | ||
Updated•2 years ago
|
Comment 19•2 years ago
|
||
Comment 20•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/149be3af5321
https://hg.mozilla.org/mozilla-central/rev/aedd902e23a7
Description
•