summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webcodecs/videoFrame-construction.crossOriginIsolated.https.any.js
blob: f5af5c0296ded79c7176c82ecd69513480dce3f8 (plain)
1
2
3
4
5
6
7
8
9
10
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');