Implement self.structuredClone()
Categories
(Core :: DOM: postMessage, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: d, Assigned: evilpie)
References
(Blocks 2 open bugs, )
Details
(Keywords: dev-doc-complete)
Attachments
(3 files)
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Steve, I was hoping you could take a look at this. Thanks.
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Comment 5•3 years ago
|
||
Backed out for causing wpt failures in structured-clone.any.worker.html
Assignee | ||
Comment 6•3 years ago
•
|
||
The destructor has an assertion for mTransferredPorts.IsEmpty()
. As far as I can tell we aren't supposed to do anything with the transferred ports, so we can just work around that assertion.
Assignee | ||
Comment 8•3 years ago
|
||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f50502328881
https://hg.mozilla.org/mozilla-central/rev/b486e4108902
https://hg.mozilla.org/mozilla-central/rev/aa67c5a8e93c
Comment 11•3 years ago
|
||
Hey, it's great to see structuredClone()
land in Firefox!
For the record, the failing WPT tests in html/webappapis/structured-clone/structured-clone.any.html
are due to a bug I introduced in https://github.com/web-platform-tests/wpt/pull/30824, which was specific to the self.structuredClone()
runner and worked fine with other uses of the structured clone algorithm. This is now being fixed in https://github.com/web-platform-tests/wpt/pull/31034.
Updated•3 years ago
|
Description
•