[wpt-sync] Sync PR 53655 - canvas: Throw a 'DataCloneError' for detached OffscreenCanvas
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox142 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 53655 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/53655
Details from upstream follow.
Andrei Volykhin <andrei.volykhin@gmail.com> wrote:
canvas: Throw a 'DataCloneError' for detached OffscreenCanvas
Fixed the WPT test expectation ('DataCloneError' exception) on the second
postMessage([offscreenCanvas])
with the detached OffscreenCanvas.According to the
StructuredSerializeWithTransfer()
specification (step 5.2)
requires to throw a "DataCloneError" DOMException iftransferable.[[Detached]]
internal slot is true.
https://html.spec.whatwg.org/multipage/#structuredserializewithtransfer
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK
: 1
PASS
: 6
Chrome
OK
: 1
PASS
: 6
Safari
OK
: 1
PASS
: 5
FAIL
: 1
Links
Comment 4•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fa6dba5f717c
https://hg.mozilla.org/mozilla-central/rev/f2277a9e0155
Description
•