From 92636418c269eef9908c3453dff244ecbe1a7214 Mon Sep 17 00:00:00 2001 From: youennf Date: Wed, 6 Sep 2023 14:32:39 +0200 Subject: [PATCH] WebKit export of https://bugs.webkit.org/show_bug.cgi?id=261099 (#41793) --- webcodecs/video-decoder.https.any.js | 4 ++++ webcodecs/video-encoder-config.https.any.js | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/webcodecs/video-decoder.https.any.js b/webcodecs/video-decoder.https.any.js index 431ac4f34a95e5..b96c12479c71cd 100644 --- a/webcodecs/video-decoder.https.any.js +++ b/webcodecs/video-decoder.https.any.js @@ -58,6 +58,10 @@ const validButUnsupportedConfigs = [ comment: 'Ambiguous codec', config: {codec: 'vp9'}, }, + { + comment: 'Codec with bad casing', + config: {codec: 'Vp09.00.10.08'}, + }, { comment: 'Codec with MIME type', config: {codec: 'video/webm; codecs="vp8"'}, diff --git a/webcodecs/video-encoder-config.https.any.js b/webcodecs/video-encoder-config.https.any.js index 09c7de4a0dce53..bbf9a3fdd35144 100644 --- a/webcodecs/video-encoder-config.https.any.js +++ b/webcodecs/video-encoder-config.https.any.js @@ -89,6 +89,14 @@ const validButUnsupportedConfigs = [ height: 480, }, }, + { + comment: 'Codec with bad casing', + config: { + codec: 'vP8', + width: 640, + height: 480, + }, + }, { comment: 'Width is too large', config: {