diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/picture-in-picture | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
14 files changed, 230 insertions, 0 deletions
diff --git a/testing/web-platform/meta/picture-in-picture/__dir__.ini b/testing/web-platform/meta/picture-in-picture/__dir__.ini new file mode 100644 index 0000000000..f2b8c461d2 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/__dir__.ini @@ -0,0 +1 @@ +leak-threshold: [rdd:51200] diff --git a/testing/web-platform/meta/picture-in-picture/css-selector.html.ini b/testing/web-platform/meta/picture-in-picture/css-selector.html.ini new file mode 100644 index 0000000000..9a7492e2bc --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/css-selector.html.ini @@ -0,0 +1,5 @@ +[css-selector.html] + expected: + if (os == "mac") and not debug: [OK, TIMEOUT] + [Entering and leaving Picture-in-Picture toggles CSS selector] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/disable-picture-in-picture.html.ini b/testing/web-platform/meta/picture-in-picture/disable-picture-in-picture.html.ini new file mode 100644 index 0000000000..0de53ed4c1 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/disable-picture-in-picture.html.ini @@ -0,0 +1,19 @@ +[disable-picture-in-picture.html] + [Test disablePictureInPicture IDL attribute] + expected: FAIL + + [Request Picture-in-Picture rejects if disablePictureInPicture is true] + expected: FAIL + + [Request Picture-in-Picture rejects if disablePictureInPicture becomes true before promise resolves.] + expected: FAIL + + [pictureInPictureElement is unset if disablePictureInPicture becomes true] + expected: FAIL + + [pictureInPictureElement is unchanged if disablePictureInPicture becomes false] + expected: FAIL + + [pictureInPictureElement is unchanged if disablePictureInPicture becomes true for another video] + expected: FAIL + diff --git a/testing/web-platform/meta/picture-in-picture/enter-picture-in-picture.html.ini b/testing/web-platform/meta/picture-in-picture/enter-picture-in-picture.html.ini new file mode 100644 index 0000000000..32eaffd0d4 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/enter-picture-in-picture.html.ini @@ -0,0 +1,5 @@ +[enter-picture-in-picture.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test enterpictureinpicture event] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/exit-picture-in-picture.html.ini b/testing/web-platform/meta/picture-in-picture/exit-picture-in-picture.html.ini new file mode 100644 index 0000000000..ce5d2dd8c1 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/exit-picture-in-picture.html.ini @@ -0,0 +1,8 @@ +[exit-picture-in-picture.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Exit Picture-in-Picture resolves when there is a Picture-in-Picture video] + expected: FAIL + + [Exit Picture-in-Picture rejects when there is no Picture-in-Picture video] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/idlharness.window.js.ini b/testing/web-platform/meta/picture-in-picture/idlharness.window.js.ini new file mode 100644 index 0000000000..d68c227361 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/idlharness.window.js.ini @@ -0,0 +1,125 @@ +[idlharness.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [PictureInPictureWindow interface: existence and properties of interface object] + expected: FAIL + + [PictureInPictureWindow interface object length] + expected: FAIL + + [PictureInPictureWindow interface object name] + expected: FAIL + + [PictureInPictureWindow interface: existence and properties of interface prototype object] + expected: FAIL + + [PictureInPictureWindow interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PictureInPictureWindow interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PictureInPictureWindow interface: attribute width] + expected: FAIL + + [PictureInPictureWindow interface: attribute height] + expected: FAIL + + [PictureInPictureWindow interface: attribute onresize] + expected: FAIL + + [Document interface: attribute pictureInPictureEnabled] + expected: FAIL + + [Document interface: operation exitPictureInPicture()] + expected: FAIL + + [Document interface: attribute pictureInPictureElement] + expected: FAIL + + [Document interface: document must inherit property "pictureInPictureEnabled" with the proper type] + expected: FAIL + + [Document interface: document must inherit property "exitPictureInPicture()" with the proper type] + expected: FAIL + + [Document interface: document must inherit property "pictureInPictureElement" with the proper type] + expected: FAIL + + [HTMLVideoElement interface: attribute onenterpictureinpicture] + expected: FAIL + + [HTMLVideoElement interface: attribute onleavepictureinpicture] + expected: FAIL + + [HTMLVideoElement interface: attribute disablePictureInPicture] + expected: FAIL + + [PictureInPictureWindow must be primary interface of pipw] + expected: FAIL + + [Stringification of pipw] + expected: FAIL + + [PictureInPictureWindow interface: pipw must inherit property "width" with the proper type] + expected: FAIL + + [PictureInPictureWindow interface: pipw must inherit property "height" with the proper type] + expected: FAIL + + [PictureInPictureWindow interface: pipw must inherit property "onresize" with the proper type] + expected: FAIL + + [HTMLVideoElement interface: video must inherit property "onenterpictureinpicture" with the proper type] + expected: FAIL + + [HTMLVideoElement interface: video must inherit property "onleavepictureinpicture" with the proper type] + expected: FAIL + + [HTMLVideoElement interface: video must inherit property "disablePictureInPicture" with the proper type] + expected: FAIL + + [DocumentOrShadowRoot interface: document must inherit property "pictureInPictureElement" with the proper type] + expected: FAIL + + [ShadowRoot interface: attribute pictureInPictureElement] + expected: FAIL + + [idl_test setup] + expected: FAIL + + [HTMLVideoElement interface: operation requestPictureInPicture()] + expected: FAIL + + [HTMLVideoElement interface: video must inherit property "requestPictureInPicture()" with the proper type] + expected: FAIL + + [PictureInPictureEvent interface object length] + expected: FAIL + + [PictureInPictureEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PictureInPictureEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [PictureInPictureEvent interface: existence and properties of interface object] + expected: FAIL + + [PictureInPictureEvent interface: attribute pictureInPictureWindow] + expected: FAIL + + [PictureInPictureEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PictureInPictureEvent interface object name] + expected: FAIL + + [Stringification of new PictureInPictureEvent("type", { pictureInPictureWindow: pipw })] + expected: FAIL + + [PictureInPictureEvent must be primary interface of new PictureInPictureEvent("type", { pictureInPictureWindow: pipw })] + expected: FAIL + + [PictureInPictureEvent interface: new PictureInPictureEvent("type", { pictureInPictureWindow: pipw }) must inherit property "pictureInPictureWindow" with the proper type] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/leave-picture-in-picture.html.ini b/testing/web-platform/meta/picture-in-picture/leave-picture-in-picture.html.ini new file mode 100644 index 0000000000..6887f5a5fb --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/leave-picture-in-picture.html.ini @@ -0,0 +1,8 @@ +[leave-picture-in-picture.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [leavepictureinpicture event is fired if document.exitPictureInPicture] + expected: FAIL + + [leavepictureinpicture event is fired if video.disablePictureInPicture is set to true] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/mediastream.html.ini b/testing/web-platform/meta/picture-in-picture/mediastream.html.ini new file mode 100644 index 0000000000..836068094a --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/mediastream.html.ini @@ -0,0 +1,5 @@ +[mediastream.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [request Picture-in-Picture resolves on user click with Picture-in-Picture window] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/picture-in-picture-element.html.ini b/testing/web-platform/meta/picture-in-picture/picture-in-picture-element.html.ini new file mode 100644 index 0000000000..447bbfb5f8 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/picture-in-picture-element.html.ini @@ -0,0 +1,5 @@ +[picture-in-picture-element.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test Picture-in-Picture element] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/picture-in-picture-window.html.ini b/testing/web-platform/meta/picture-in-picture/picture-in-picture-window.html.ini new file mode 100644 index 0000000000..8c67231174 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/picture-in-picture-window.html.ini @@ -0,0 +1,17 @@ +[picture-in-picture-window.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [Picture-in-Picture window dimensions are set after entering Picture-in-Picture] + expected: FAIL + + [Picture-in-Picture window dimensions are set to 0 after entering Picture-in-Picture for another video] + expected: FAIL + + [Picture-in-Picture window dimensions are set to 0 after exiting Picture-in-Picture] + expected: FAIL + + [Picture-in-Picture window dimensions are set to 0 if disablePictureInPicture becomes true] + expected: FAIL + + [Picture-in-Picture window is unchanged after entering Picture-in-Picture for video already in Picture-in-Picture] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/removed-from-document.html.ini b/testing/web-platform/meta/picture-in-picture/removed-from-document.html.ini new file mode 100644 index 0000000000..0c0c308038 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/removed-from-document.html.ini @@ -0,0 +1,5 @@ +[removed-from-document.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Picture-in-Picture video does not pause when removed from document] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/request-picture-in-picture-twice.html.ini b/testing/web-platform/meta/picture-in-picture/request-picture-in-picture-twice.html.ini new file mode 100644 index 0000000000..f8900b2dd4 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/request-picture-in-picture-twice.html.ini @@ -0,0 +1,8 @@ +[request-picture-in-picture-twice.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [request Picture-in-Picture consumes user gesture] + expected: FAIL + + [request Picture-in-Picture does not require user gesture if document.pictureInPictureElement is set] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/request-picture-in-picture.html.ini b/testing/web-platform/meta/picture-in-picture/request-picture-in-picture.html.ini new file mode 100644 index 0000000000..9583548c51 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/request-picture-in-picture.html.ini @@ -0,0 +1,14 @@ +[request-picture-in-picture.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [request Picture-in-Picture resolves on user click] + expected: FAIL + + [request Picture-in-Picture requires loaded metadata for the video element] + expected: FAIL + + [request Picture-in-Picture requires video track for the video element] + expected: FAIL + + [request Picture-in-Picture requires a user gesture] + expected: FAIL diff --git a/testing/web-platform/meta/picture-in-picture/shadow-dom.html.ini b/testing/web-platform/meta/picture-in-picture/shadow-dom.html.ini new file mode 100644 index 0000000000..1028cbd316 --- /dev/null +++ b/testing/web-platform/meta/picture-in-picture/shadow-dom.html.ini @@ -0,0 +1,5 @@ +[shadow-dom.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test for Picture-In-Picture and Shadow DOM] + expected: FAIL |