summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/screen-orientation
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/screen-orientation')
-rw-r--r--testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini5
-rw-r--r--testing/web-platform/meta/screen-orientation/lock-basic.html.ini6
-rw-r--r--testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini9
-rw-r--r--testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini6
-rw-r--r--testing/web-platform/meta/screen-orientation/onchange-event.html.ini9
-rw-r--r--testing/web-platform/meta/screen-orientation/orientation-reading.html.ini8
6 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini b/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini
new file mode 100644
index 000000000..624ba7b22
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini
@@ -0,0 +1,5 @@
+[lock-bad-argument.html]
+ type: testharness
+ [Test that screen.orientation.lock() throws when the input isn't valid.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/screen-orientation/lock-basic.html.ini b/testing/web-platform/meta/screen-orientation/lock-basic.html.ini
new file mode 100644
index 000000000..2867b2bd3
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/lock-basic.html.ini
@@ -0,0 +1,6 @@
+[lock-basic.html]
+ type: testharness
+ expected: TIMEOUT
+ [Test that screen.orientation.lock returns a pending promise.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini b/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini
new file mode 100644
index 000000000..8948f8a2f
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini
@@ -0,0 +1,9 @@
+[lock-sandboxed-iframe.html]
+ type: testharness
+ expected: TIMEOUT
+ [Test without 'allow-orientation-lock' sandboxing directive]
+ expected: FAIL
+
+ [Test with 'allow-orientation-lock' sandboxing directive]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini b/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini
new file mode 100644
index 000000000..614ed43b8
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini
@@ -0,0 +1,6 @@
+[onchange-event-subframe.html]
+ type: testharness
+ expected: TIMEOUT
+ [Test subframes receive orientation change events]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/screen-orientation/onchange-event.html.ini b/testing/web-platform/meta/screen-orientation/onchange-event.html.ini
new file mode 100644
index 000000000..36bac914f
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/onchange-event.html.ini
@@ -0,0 +1,9 @@
+[onchange-event.html]
+ type: testharness
+ expected: TIMEOUT
+ [Test that orientationchange event is fired when the orientation changes.]
+ expected: NOTRUN
+
+ [Test that orientationchange event is not fired when the orientation does not change.]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini b/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini
new file mode 100644
index 000000000..b31f15780
--- /dev/null
+++ b/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini
@@ -0,0 +1,8 @@
+[orientation-reading.html]
+ type: testharness
+ [Test screen.orientation default values.]
+ expected: FAIL
+
+ [Test that screen.orientation values change if the orientation changes]
+ expected: FAIL
+