From 791683b94aa8ea3ff6c6f7947a27c18aa7ce1759 Mon Sep 17 00:00:00 2001 From: Sam Sneddon Date: Tue, 20 Dec 2022 11:03:17 +0000 Subject: [PATCH] Bug 1806505 [wpt PR 37479] - Get rid of t.done that hid the assert_implements_optional failure, a=testonly Automatic update from web-platform-tests Get rid of t.done that hid the assert_implements_optional failure -- wpt-commits: 7c0529ed691e3e83cc816e69da0882f174c6a1ef wpt-pr: 37479 --- testing/web-platform/tests/webcodecs/video-encoder-utils.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/testing/web-platform/tests/webcodecs/video-encoder-utils.js b/testing/web-platform/tests/webcodecs/video-encoder-utils.js index fad6b909505f..7201e054d81b 100644 --- a/testing/web-platform/tests/webcodecs/video-encoder-utils.js +++ b/testing/web-platform/tests/webcodecs/video-encoder-utils.js @@ -6,12 +6,6 @@ async function checkEncoderSupport(test, config) { supported = support.supported; } catch (e) {} - if (!supported) { - // Mark the test 'passed', unfortunately assert_implements_optional() - // doesn't do it by itself. - test.done(); - } - assert_implements_optional(supported, 'Unsupported config: ' + JSON.stringify(config)); } -- 2.11.4.GIT