diff options
Diffstat (limited to 'testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js')
-rw-r--r-- | testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js b/testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js new file mode 100644 index 0000000000..f5af5c0296 --- /dev/null +++ b/testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js @@ -0,0 +1,11 @@ +// META: global=window,dedicatedworker +// META: script=/webcodecs/utils.js +// META: script=/webcodecs/videoFrame-utils.js + +test(t => { + testBufferConstructedI420Frame('SharedArrayBuffer'); +}, 'Test SharedArrayBuffer constructed I420 VideoFrame'); + +test(t => { + testBufferConstructedI420Frame('Uint8Array(SharedArrayBuffer)'); +}, 'Test Uint8Array(SharedArrayBuffer) constructed I420 VideoFrame'); |