summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/picture-in-picture
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/picture-in-picture')
-rw-r--r--testing/web-platform/meta/picture-in-picture/__dir__.ini1
-rw-r--r--testing/web-platform/meta/picture-in-picture/css-selector.html.ini5
-rw-r--r--testing/web-platform/meta/picture-in-picture/disable-picture-in-picture.html.ini19
-rw-r--r--testing/web-platform/meta/picture-in-picture/enter-picture-in-picture.html.ini5
-rw-r--r--testing/web-platform/meta/picture-in-picture/exit-picture-in-picture.html.ini8
-rw-r--r--testing/web-platform/meta/picture-in-picture/idlharness.window.js.ini125
-rw-r--r--testing/web-platform/meta/picture-in-picture/leave-picture-in-picture.html.ini8
-rw-r--r--testing/web-platform/meta/picture-in-picture/mediastream.html.ini5
-rw-r--r--testing/web-platform/meta/picture-in-picture/picture-in-picture-element.html.ini5
-rw-r--r--testing/web-platform/meta/picture-in-picture/picture-in-picture-window.html.ini17
-rw-r--r--testing/web-platform/meta/picture-in-picture/removed-from-document.html.ini5
-rw-r--r--testing/web-platform/meta/picture-in-picture/request-picture-in-picture-twice.html.ini8
-rw-r--r--testing/web-platform/meta/picture-in-picture/request-picture-in-picture.html.ini14
-rw-r--r--testing/web-platform/meta/picture-in-picture/shadow-dom.html.ini5
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