diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/mediacapture-image | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/mediacapture-image')
23 files changed, 380 insertions, 0 deletions
diff --git a/testing/web-platform/meta/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.https.html.ini b/testing/web-platform/meta/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.https.html.ini new file mode 100644 index 0000000000..de1e2e2690 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.https.html.ini @@ -0,0 +1,4 @@ +[ImageCapture-MediaTrackSupportedConstraints.https.html] + [Image Capture supported constraints] + expected: FAIL + diff --git a/testing/web-platform/meta/mediacapture-image/ImageCapture-creation.https.html.ini b/testing/web-platform/meta/mediacapture-image/ImageCapture-creation.https.html.ini new file mode 100644 index 0000000000..35b89cf19b --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/ImageCapture-creation.https.html.ini @@ -0,0 +1,14 @@ +[ImageCapture-creation.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [grabFrame() of a disabled Track] + expected: FAIL + + [verifies that an ImageCapture cannot be created out of an Audio Track] + expected: FAIL + + [grabFrame() of an ended Track] + expected: FAIL + + [throw "TypeError" if parameter is not MediaStreamTrack.] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/ImageCapture-grabFrame.html.ini b/testing/web-platform/meta/mediacapture-image/ImageCapture-grabFrame.html.ini new file mode 100644 index 0000000000..2984af5265 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/ImageCapture-grabFrame.html.ini @@ -0,0 +1,5 @@ +[ImageCapture-grabFrame.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [exercises the ImageCapture API creation and grabFrame().] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/ImageCapture-track.html.ini b/testing/web-platform/meta/mediacapture-image/ImageCapture-track.html.ini new file mode 100644 index 0000000000..3dbfeb2baa --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/ImageCapture-track.html.ini @@ -0,0 +1,5 @@ +[ImageCapture-track.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [ImageCapture track attribute is readonly] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-fast.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-fast.html.ini new file mode 100644 index 0000000000..5d5aa938a7 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-fast.html.ini @@ -0,0 +1,11 @@ +[MediaStreamTrack-applyConstraints-fast.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [MediaStreamTrack.applyConstraints() with unsupported constraint] + expected: FAIL + + [MediaStreamTrack.applyConstraints({advanced: [\]})] + expected: FAIL + + [MediaStreamTrack.applyConstraints()] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.https.html.ini new file mode 100644 index 0000000000..afa3f314c3 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.https.html.ini @@ -0,0 +1,13 @@ +[MediaStreamTrack-applyConstraints-getSettings.https.html] + expected: ERROR + [exercises an applyConstraints() - getSettings() cycle with PTZ permission granted] + expected: FAIL + + [exercises an applyConstraints() with required constraints with PTZ permission denied] + expected: FAIL + + [exercises an applyConstraints() with ideal constraints with PTZ permission denied] + expected: FAIL + + [exercises an applyConstraints() with advances constraints with PTZ permission denied] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-reject.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-reject.https.html.ini new file mode 100644 index 0000000000..20c8759607 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints-reject.https.html.ini @@ -0,0 +1,75 @@ +[MediaStreamTrack-applyConstraints-reject.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [MediaStreamTrack-applyConstraints-reject] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 16] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 17] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 14] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 15] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 10] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 11] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 12] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 18] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 13] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 4] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 5] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 6] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 7] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 1] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 2] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 3] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 8] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 9] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 22] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 19] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 23] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 21] + expected: FAIL + + [MediaStreamTrack-applyConstraints-reject 20] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints.https.html.ini new file mode 100644 index 0000000000..d28a109459 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-applyConstraints.https.html.ini @@ -0,0 +1,5 @@ +[MediaStreamTrack-applyConstraints.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [exercises MediaStreamTrack.applyConstraints(constraints)] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-clone.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-clone.https.html.ini new file mode 100644 index 0000000000..e1fb73e3e3 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-clone.https.html.ini @@ -0,0 +1,12 @@ +[MediaStreamTrack-clone.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [checks MediaStreamTrack.clone() gets same settings] + expected: FAIL + + [checks MediaStreamTrack.clone() gets same applied constraints] + expected: FAIL + + [checks MediaStreamTrack.clone() gets same capabilities] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities-fast.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities-fast.html.ini new file mode 100644 index 0000000000..0d723a59c8 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities-fast.html.ini @@ -0,0 +1,5 @@ +[MediaStreamTrack-getCapabilities-fast.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [MediaStreamTrack.getCapabilities()] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities.https.html.ini new file mode 100644 index 0000000000..77897dd7d6 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getCapabilities.https.html.ini @@ -0,0 +1,9 @@ +[MediaStreamTrack-getCapabilities.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [MediaStreamTrack-getCapabilities] + expected: FAIL + + [MediaStreamTrack-getCapabilities 1] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getConstraints.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getConstraints.https.html.ini new file mode 100644 index 0000000000..4cd58db0c8 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getConstraints.https.html.ini @@ -0,0 +1,51 @@ +[MediaStreamTrack-getConstraints.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [MediaStreamTrack-getConstraints 14] + expected: FAIL + + [MediaStreamTrack-getConstraints 13] + expected: FAIL + + [MediaStreamTrack-getConstraints 12] + expected: FAIL + + [MediaStreamTrack-getConstraints 11] + expected: FAIL + + [MediaStreamTrack-getConstraints 10] + expected: FAIL + + [MediaStreamTrack-getConstraints 15] + expected: FAIL + + [MediaStreamTrack-getConstraints 9] + expected: FAIL + + [MediaStreamTrack-getConstraints 8] + expected: FAIL + + [MediaStreamTrack-getConstraints 7] + expected: FAIL + + [MediaStreamTrack-getConstraints 6] + expected: FAIL + + [MediaStreamTrack-getConstraints 5] + expected: FAIL + + [MediaStreamTrack-getConstraints 4] + expected: FAIL + + [MediaStreamTrack-getConstraints 3] + expected: FAIL + + [MediaStreamTrack-getConstraints 2] + expected: FAIL + + [MediaStreamTrack-getConstraints 1] + expected: FAIL + + [MediaStreamTrack-getConstraints] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings-fast.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings-fast.html.ini new file mode 100644 index 0000000000..6953b84cb2 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings-fast.html.ini @@ -0,0 +1,3 @@ +[MediaStreamTrack-getSettings-fast.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings.https.html.ini b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings.https.html.ini new file mode 100644 index 0000000000..eca8df0549 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/MediaStreamTrack-getSettings.https.html.ini @@ -0,0 +1,9 @@ +[MediaStreamTrack-getSettings.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [MediaStreamTrack-getSettings 1] + expected: FAIL + + [MediaStreamTrack-getSettings] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/detached-HTMLCanvasElement.html.ini b/testing/web-platform/meta/mediacapture-image/detached-HTMLCanvasElement.html.ini new file mode 100644 index 0000000000..ab88ad69d1 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/detached-HTMLCanvasElement.html.ini @@ -0,0 +1,5 @@ +[detached-HTMLCanvasElement.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [MediaStreamTrack can be obtained from a detached frame] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/getPhotoCapabilities.html.ini b/testing/web-platform/meta/mediacapture-image/getPhotoCapabilities.html.ini new file mode 100644 index 0000000000..2f6fb7f4b5 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/getPhotoCapabilities.html.ini @@ -0,0 +1,11 @@ +[getPhotoCapabilities.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [exercises ImageCapture.getPhotoCapabilities()] + expected: FAIL + + [getPhotoCapabilities() of an ended Track should throw "InvalidStateError"] + expected: FAIL + + [throw "OperationError" when the MediaStreamTrack is stopped while getting photo capabilities] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/getPhotoSettings.html.ini b/testing/web-platform/meta/mediacapture-image/getPhotoSettings.html.ini new file mode 100644 index 0000000000..2214d408a3 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/getPhotoSettings.html.ini @@ -0,0 +1,11 @@ +[getPhotoSettings.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [exercises ImageCapture.getPhotoSettings()] + expected: FAIL + + [getPhotoSettings() of an ended Track should throw "InvalidStateError"] + expected: FAIL + + [throw "OperationError" when the MediaStreamTrack is stopped while getting photo settings] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/getusermedia.https.html.ini b/testing/web-platform/meta/mediacapture-image/getusermedia.https.html.ini new file mode 100644 index 0000000000..0220543f4b --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/getusermedia.https.html.ini @@ -0,0 +1,29 @@ +[getusermedia.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [getUserMedia({"video":{"tilt":{"max":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"zoom":{"exact":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"tilt":{"exact":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"zoom":{"max":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"tilt":{"min":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"pan":{"max":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"zoom":{"min":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"pan":{"exact":1}}}) must fail with TypeError] + expected: FAIL + + [getUserMedia({"video":{"pan":{"min":1}}}) must fail with TypeError] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/idlharness.window.js.ini b/testing/web-platform/meta/mediacapture-image/idlharness.window.js.ini new file mode 100644 index 0000000000..3360902b0f --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/idlharness.window.js.ini @@ -0,0 +1,62 @@ +[idlharness.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [ImageCapture interface: capture must inherit property "getPhotoCapabilities()" with the proper type] + expected: FAIL + + [ImageCapture interface object length] + expected: FAIL + + [ImageCapture interface: capture must inherit property "track" with the proper type] + expected: FAIL + + [ImageCapture interface: operation getPhotoSettings()] + expected: FAIL + + [ImageCapture interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ImageCapture interface: operation grabFrame()] + expected: FAIL + + [ImageCapture interface: capture must inherit property "grabFrame()" with the proper type] + expected: FAIL + + [ImageCapture interface: operation getPhotoCapabilities()] + expected: FAIL + + [Stringification of capture] + expected: FAIL + + [ImageCapture interface: attribute track] + expected: FAIL + + [ImageCapture interface: capture must inherit property "getPhotoSettings()" with the proper type] + expected: FAIL + + [ImageCapture interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [ImageCapture interface: existence and properties of interface object] + expected: FAIL + + [ImageCapture interface: existence and properties of interface prototype object] + expected: FAIL + + [ImageCapture interface object name] + expected: FAIL + + [ImageCapture must be primary interface of capture] + expected: FAIL + + [idl_test setup] + expected: FAIL + + [ImageCapture interface: capture must inherit property "takePhoto(optional PhotoSettings)" with the proper type] + expected: FAIL + + [ImageCapture interface: operation takePhoto(optional PhotoSettings)] + expected: FAIL + + [ImageCapture interface: calling takePhoto(optional PhotoSettings) on capture with too few arguments must throw TypeError] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/takePhoto-reject.html.ini b/testing/web-platform/meta/mediacapture-image/takePhoto-reject.html.ini new file mode 100644 index 0000000000..06e5244ddc --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/takePhoto-reject.html.ini @@ -0,0 +1,19 @@ +[takePhoto-reject.html] + expected: ERROR + [takePhoto-reject] + expected: FAIL + + [takePhoto-reject 1] + expected: FAIL + + [takePhoto-reject 2] + expected: FAIL + + [takePhoto-reject 3] + expected: FAIL + + [takePhoto-reject 4] + expected: FAIL + + [takePhoto-reject 5] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/takePhoto-with-PhotoSettings.html.ini b/testing/web-platform/meta/mediacapture-image/takePhoto-with-PhotoSettings.html.ini new file mode 100644 index 0000000000..388703fe13 --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/takePhoto-with-PhotoSettings.html.ini @@ -0,0 +1,5 @@ +[takePhoto-with-PhotoSettings.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [exercises ImageCapture.takePhoto(PhotoSettings dictionary)] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/takePhoto-without-PhotoCapabilities.https.window.js.ini b/testing/web-platform/meta/mediacapture-image/takePhoto-without-PhotoCapabilities.https.window.js.ini new file mode 100644 index 0000000000..1353a673af --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/takePhoto-without-PhotoCapabilities.https.window.js.ini @@ -0,0 +1,5 @@ +[takePhoto-without-PhotoCapabilities.https.window.html] + expected: + if (os == "android") and fission: [OK, ERROR, TIMEOUT] + [exercise takePhoto() on a track without PhotoCapabilities] + expected: FAIL diff --git a/testing/web-platform/meta/mediacapture-image/takePhoto.html.ini b/testing/web-platform/meta/mediacapture-image/takePhoto.html.ini new file mode 100644 index 0000000000..58941a15fd --- /dev/null +++ b/testing/web-platform/meta/mediacapture-image/takePhoto.html.ini @@ -0,0 +1,12 @@ +[takePhoto.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [exercises ImageCapture.takePhoto()] + expected: FAIL + + [takePhoto() of an ended Track should throw "InvalidStateError"] + expected: FAIL + + [exercises ImageCapture.takePhoto(null)] + expected: FAIL |