[wpt-sync] Sync PR 27618 - [webcodecs] Clone VideoFrame when serializing
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27618 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27618
Details from upstream follow.
b'Dan Sanders <sandersd@chromium.org>' wrote:
[webcodecs] Clone VideoFrame when serializing
This changes the serialization semantics of VideoFrame so that the
lifetimes of the serialized (source) frame and deserialized (recieved)
frames are separate. The source and recieved frames must both be closed.In the case that there are multiple receivers (eg. BroadcastChannel),
they still share a single handle, and only one of them should be closed.
This is necessary to ensure that no dangling references remain that
would require waiting for GC to destroy the underlying frames.Bug: 1178038
Change-Id: I2199246b9d7caf9fd317b3c1dc8ae310ced9662d
Reviewed-on: https://chromium-review.googlesource.com/2694166
WPT-Export-Revision: 349e4b0a1ad9b1ac001d47ea47ea54313605a1e9
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c39ed68cdd3d6dd0fb15fa9f91355a2a44293c78
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 5 subtests
Status Summary
Firefox
OK : 2
FAIL: 10
Chrome
OK : 2
PASS: 8
FAIL: 2
Safari
OK : 2
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/webcodecs/video-frame-serialization.any.worker.html
Test we can clone a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Verify closing a frame doesn't affect its clones.: FAIL (Chrome: PASS, Safari: FAIL)
Verify cloning a closed frame throws.: FAIL (Chrome: PASS, Safari: FAIL)
Verify closing frames does not propagate accross contexts.: FAIL (Chrome: FAIL, Safari: FAIL)
Verify posting closed frames throws.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/video-frame-serialization.any.html
Test we can clone a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Verify closing a frame doesn't affect its clones.: FAIL (Chrome: PASS, Safari: FAIL)
Verify cloning a closed frame throws.: FAIL (Chrome: PASS, Safari: FAIL)
Verify closing frames does not propagate accross contexts.: FAIL (Chrome: FAIL, Safari: FAIL)
Verify posting closed frames throws.: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae095af48a0e [wpt PR 27618] - [webcodecs] Clone VideoFrame when serializing, a=testonly https://hg.mozilla.org/integration/autoland/rev/c8bfcd9b1392 [wpt PR 27618] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ae095af48a0e
https://hg.mozilla.org/mozilla-central/rev/c8bfcd9b1392
Description
•