From 8b932d92132996a2ed3ea4c6148a901b1a848a2c Mon Sep 17 00:00:00 2001 From: alwu Date: Mon, 30 Oct 2023 16:38:12 +0000 Subject: [PATCH] Bug 1857629 - add video hardware decoding test on Windows and MacOS. r=media-playback-reviewers,padenot Differential Revision: https://phabricator.services.mozilla.com/D191799 --- dom/media/test/mochitest.toml | 4 + dom/media/test/test_hw_video_decoding.html | 119 +++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 dom/media/test/test_hw_video_decoding.html diff --git a/dom/media/test/mochitest.toml b/dom/media/test/mochitest.toml index 689505e39137..19d953497fd7 100644 --- a/dom/media/test/mochitest.toml +++ b/dom/media/test/mochitest.toml @@ -837,6 +837,10 @@ skip-if = ["os == 'android'"] # bug 1108558, android(bug 1232305) skip-if = ["os != 'android'"] tags = "hls" +["test_hw_video_decoding.html"] +skip-if = ["!mda_gpu"] +scheme = "https" + ["test_imagecapture.html"] scheme = "https" diff --git a/dom/media/test/test_hw_video_decoding.html b/dom/media/test/test_hw_video_decoding.html new file mode 100644 index 000000000000..f93ab9b0a830 --- /dev/null +++ b/dom/media/test/test_hw_video_decoding.html @@ -0,0 +1,119 @@ + + + +Test video hardware decoding + + + + + + +