Closed Bug 1797557 Opened 3 years ago Closed 3 years ago

Add wpt test for videoframe serialization to test `forStorage=true`

Categories

(Core :: Audio/Video: Web Codecs, task, P1)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

VideoFrame should have a test to make sure it cannot be serialized when forStorage=true:
https://github.com/w3c/webcodecs/pull/590

Serializing a VideoFrame when forStorage=true should throw a
DataCloneError. See https://w3c.github.io/webcodecs/#videoframe-transfer-serialization

Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a0d99f2ccff4 Ensure storing VideoFrames in IndexedDB throws r=padenot,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37082 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Upstream PR merged by moz-wptsync-bot
Component: Audio/Video → Audio/Video: Web Codecs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: