summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/orientation-event/orientation
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/orientation-event/orientation')
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini8
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini8
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini12
-rw-r--r--testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini5
9 files changed, 58 insertions, 0 deletions
diff --git a/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini
new file mode 100644
index 0000000000..21bf8693e0
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini
@@ -0,0 +1,5 @@
+[absolute-fallback.https.html]
+ expected: ERROR
+ [Tests that deviceorientation falls back to using absolute orientation data if relative is unavailable.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini
new file mode 100644
index 0000000000..3165b1815a
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini
@@ -0,0 +1,5 @@
+[add-listener-from-callback.https.html]
+ expected: ERROR
+ [Tests that adding a new deviceorientation event listener from a callback works as expected.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini
new file mode 100644
index 0000000000..6a59699f9d
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini
@@ -0,0 +1,8 @@
+[basic-operation-absolute.https.html]
+ expected: ERROR
+ [Tests basic operation of deviceorientationabsolute event using mock data.]
+ expected: FAIL
+
+ [If UA can never provide absolute information, the event should be fired as a null event.]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini
new file mode 100644
index 0000000000..9fb86e519d
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini
@@ -0,0 +1,8 @@
+[basic-operation.https.html]
+ expected: ERROR
+ [If UA can never provide orientation information, the event should be fired as a null event.]
+ expected: NOTRUN
+
+ [Tests basic operation of deviceorientation event using mock data.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini
new file mode 100644
index 0000000000..f18d945da0
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini
@@ -0,0 +1,5 @@
+[multiple-event-listeners.https.html]
+ expected: ERROR
+ [Tests using multiple event handlers for the Device Orientation API.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini
new file mode 100644
index 0000000000..20126e124b
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini
@@ -0,0 +1,5 @@
+[no-synchronous-events.https.html]
+ expected: ERROR
+ [Tests that events are never fired synchronously from a call to window.addEventListener().]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini
new file mode 100644
index 0000000000..c5302404ba
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini
@@ -0,0 +1,5 @@
+[null-values.https.html]
+ expected: ERROR
+ [Tests using null values for some of the event properties.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini b/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini
new file mode 100644
index 0000000000..560a44a3d8
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini
@@ -0,0 +1,12 @@
+[requestPermission.https.window.html]
+ [requestPermission() returns "granted" for granted permissions without user activation]
+ expected: FAIL
+
+ [requestPermission() returns "granted" for granted permissions with user activation]
+ expected: FAIL
+
+ [requestPermission() returns "denied" for denied permissions without user activation]
+ expected: FAIL
+
+ [requestPermission() returns "denied" for denied permissions with user activation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini
new file mode 100644
index 0000000000..ad4d164969
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini
@@ -0,0 +1,5 @@
+[updates.https.html]
+ expected: ERROR
+ [Tests that updates to the orientation causes new events to fire.]
+ expected: FAIL
+