Skip to content

Commit 5a590ae

Browse files
Djuffinmoz-wptsync-bot
authored andcommitted
Bug 1927948 [wpt PR 48870] - Move 'valid codec with spaces' to validButUnsupportedConfigs configs, a=testonly
Automatic update from web-platform-tests Move 'valid codec with spaces' to validButUnsupportedConfigs configs (#48870) * Move 'valid codec with spaces' to validButUnsupported configs UA is not expected to support codec strings with whitespaces around it, even though it's a valid config. * Remove trailing whitespaces at line 100 -- wpt-commits: 30ee69b644196db4964bc2597d6aad7d37e3beed wpt-pr: 48870
1 parent 5c049bb commit 5a590ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testing/web-platform/tests/webcodecs/video-decoder.https.any.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ const validButUnsupportedConfigs = [
9494
comment: 'Possible future AV1 codec string',
9595
config: {codec: 'av01.9.99M.08'},
9696
},
97+
{
98+
comment: 'codec with spaces',
99+
config: {codec: ' vp09.00.10.08 '},
100+
},
97101
]; // validButUnsupportedConfigs
98102

99103
validButUnsupportedConfigs.forEach(entry => {
@@ -151,10 +155,6 @@ promise_test(t => {
151155
}, 'Test VideoDecoder construction');
152156

153157
const validConfigs = [
154-
{
155-
comment: 'valid codec with spaces',
156-
config: {codec: ' vp09.00.10.08 '},
157-
},
158158
{
159159
comment: 'variant 1 of h264 codec string',
160160
config: {codec: 'avc3.42001E'},

0 commit comments

Comments
 (0)