diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/webcodecs/video-decoder.https.any.js | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/webcodecs/video-decoder.https.any.js')
-rw-r--r-- | testing/web-platform/tests/webcodecs/video-decoder.https.any.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webcodecs/video-decoder.https.any.js b/testing/web-platform/tests/webcodecs/video-decoder.https.any.js index 77a610bd4e..5b3193b8c3 100644 --- a/testing/web-platform/tests/webcodecs/video-decoder.https.any.js +++ b/testing/web-platform/tests/webcodecs/video-decoder.https.any.js @@ -1,5 +1,9 @@ // META: global=window,dedicatedworker // META: script=/webcodecs/utils.js +// + +const detachedArrayBuffer = new ArrayBuffer(4); +var b = detachedArrayBuffer.transferToFixedLength(); const invalidConfigs = [ { @@ -10,6 +14,10 @@ const invalidConfigs = [ comment: 'Empty codec', config: {codec: ''}, }, + { + comment: 'Valid codec, detached description', + config: {codec: 'vp8', description: detachedArrayBuffer}, + }, ]; // invalidConfigs invalidConfigs.forEach(entry => { |