From 56506d073ef8403acbe7fc80ada078828d43d139 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 15 Jun 2023 20:44:09 +0000 Subject: [PATCH] Bug 1838487 - Adjust test_interfaces.html to reflect the new exposure of Web Codecs interfaces. r=emilio Depends on D180974 Differential Revision: https://phabricator.services.mozilla.com/D181090 --- .../mochitest/general/test_interfaces.js | 4 + .../webcodecs/idlharness.https.any.js.ini | 186 ------------------ 2 files changed, 4 insertions(+), 186 deletions(-) diff --git a/dom/tests/mochitest/general/test_interfaces.js b/dom/tests/mochitest/general/test_interfaces.js index 1de681009ecc..72afbbdebd30 100644 --- a/dom/tests/mochitest/general/test_interfaces.js +++ b/dom/tests/mochitest/general/test_interfaces.js @@ -1389,6 +1389,10 @@ let interfaceNamesInGlobalScope = [ // IMPORTANT: Do not change this list without review from a DOM peer! { name: "ValidityState", insecureContext: true }, // IMPORTANT: Do not change this list without review from a DOM peer! + { name: "VideoColorSpace", insecureContext: true, nightly: true}, + // IMPORTANT: Do not change this list without review from a DOM peer! + { name: "VideoFrame", insecureContext: true , nightly: true}, + // IMPORTANT: Do not change this list without review from a DOM peer! { name: "VideoPlaybackQuality", insecureContext: true }, // IMPORTANT: Do not change this list without review from a DOM peer! { name: "VisualViewport", insecureContext: true }, diff --git a/testing/web-platform/meta/webcodecs/idlharness.https.any.js.ini b/testing/web-platform/meta/webcodecs/idlharness.https.any.js.ini index 856541a54b17..97074d61d731 100644 --- a/testing/web-platform/meta/webcodecs/idlharness.https.any.js.ini +++ b/testing/web-platform/meta/webcodecs/idlharness.https.any.js.ini @@ -293,102 +293,9 @@ [AudioData interface: operation close()] expected: FAIL - [VideoFrame interface: existence and properties of interface object] - expected: FAIL - - [VideoFrame interface object length] - expected: FAIL - - [VideoFrame interface object name] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [VideoFrame interface: attribute format] - expected: FAIL - - [VideoFrame interface: attribute codedWidth] - expected: FAIL - - [VideoFrame interface: attribute codedHeight] - expected: FAIL - - [VideoFrame interface: attribute codedRect] - expected: FAIL - - [VideoFrame interface: attribute visibleRect] - expected: FAIL - - [VideoFrame interface: attribute displayWidth] - expected: FAIL - - [VideoFrame interface: attribute displayHeight] - expected: FAIL - - [VideoFrame interface: attribute duration] - expected: FAIL - - [VideoFrame interface: attribute timestamp] - expected: FAIL - - [VideoFrame interface: attribute colorSpace] - expected: FAIL - [VideoFrame interface: operation metadata()] expected: FAIL - [VideoFrame interface: operation allocationSize(optional VideoFrameCopyToOptions)] - expected: FAIL - - [VideoFrame interface: operation copyTo(BufferSource, optional VideoFrameCopyToOptions)] - expected: FAIL - - [VideoFrame interface: operation clone()] - expected: FAIL - - [VideoFrame interface: operation close()] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface object] - expected: FAIL - - [VideoColorSpace interface object length] - expected: FAIL - - [VideoColorSpace interface object name] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [VideoColorSpace interface: attribute primaries] - expected: FAIL - - [VideoColorSpace interface: attribute transfer] - expected: FAIL - - [VideoColorSpace interface: attribute matrix] - expected: FAIL - - [VideoColorSpace interface: attribute fullRange] - expected: FAIL - - [VideoColorSpace interface: operation toJSON()] - expected: FAIL - [ImageDecoder interface: existence and properties of interface object] expected: FAIL @@ -793,102 +700,9 @@ [AudioData interface: operation close()] expected: FAIL - [VideoFrame interface: existence and properties of interface object] - expected: FAIL - - [VideoFrame interface object length] - expected: FAIL - - [VideoFrame interface object name] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [VideoFrame interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [VideoFrame interface: attribute format] - expected: FAIL - - [VideoFrame interface: attribute codedWidth] - expected: FAIL - - [VideoFrame interface: attribute codedHeight] - expected: FAIL - - [VideoFrame interface: attribute codedRect] - expected: FAIL - - [VideoFrame interface: attribute visibleRect] - expected: FAIL - - [VideoFrame interface: attribute displayWidth] - expected: FAIL - - [VideoFrame interface: attribute displayHeight] - expected: FAIL - - [VideoFrame interface: attribute duration] - expected: FAIL - - [VideoFrame interface: attribute timestamp] - expected: FAIL - - [VideoFrame interface: attribute colorSpace] - expected: FAIL - [VideoFrame interface: operation metadata()] expected: FAIL - [VideoFrame interface: operation allocationSize(optional VideoFrameCopyToOptions)] - expected: FAIL - - [VideoFrame interface: operation copyTo(BufferSource, optional VideoFrameCopyToOptions)] - expected: FAIL - - [VideoFrame interface: operation clone()] - expected: FAIL - - [VideoFrame interface: operation close()] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface object] - expected: FAIL - - [VideoColorSpace interface object length] - expected: FAIL - - [VideoColorSpace interface object name] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [VideoColorSpace interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [VideoColorSpace interface: attribute primaries] - expected: FAIL - - [VideoColorSpace interface: attribute transfer] - expected: FAIL - - [VideoColorSpace interface: attribute matrix] - expected: FAIL - - [VideoColorSpace interface: attribute fullRange] - expected: FAIL - - [VideoColorSpace interface: operation toJSON()] - expected: FAIL - [ImageDecoder interface: existence and properties of interface object] expected: FAIL