summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/orientation-event/motion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/orientation-event/motion
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/orientation-event/motion')
-rw-r--r--testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini4
-rw-r--r--testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini5
-rw-r--r--testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini25
-rw-r--r--testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini12
7 files changed, 61 insertions, 0 deletions
diff --git a/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini b/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini
new file mode 100644
index 0000000000..1549dbe3ac
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini
@@ -0,0 +1,5 @@
+[add-during-dispatch.https.html]
+ expected: ERROR
+ [Test no fire listeners added during event dispatch.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini b/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini
new file mode 100644
index 0000000000..b7c39640cf
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini
@@ -0,0 +1,5 @@
+[add-listener-from-callback.https.html]
+ expected: ERROR
+ [Tests that adding a new devicemotion event listener from a callback works as expected.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini b/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini
new file mode 100644
index 0000000000..05382f8ffe
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini
@@ -0,0 +1,4 @@
+[create-event.https.html]
+ [Tests that document.createEvent() works with DeviceMotionEvent.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini b/testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini
new file mode 100644
index 0000000000..7892459099
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/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 Motion API.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini b/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini
new file mode 100644
index 0000000000..c105f94015
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini
@@ -0,0 +1,5 @@
+[null-values.https.html]
+ expected: ERROR
+ [Tests using null values for some or all of the event properties.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini b/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini
new file mode 100644
index 0000000000..f9811514cf
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini
@@ -0,0 +1,25 @@
+[optional-event-properties.https.html]
+ [Tests some fields are null.]
+ expected: FAIL
+
+ [Tests all values are null.]
+ expected: FAIL
+
+ [Tests all fields are null.]
+ expected: FAIL
+
+ [Tests some fields are undefined.]
+ expected: FAIL
+
+ [Tests DeviceMotionEvent default constructor.]
+ expected: FAIL
+
+ [Tests all fields are undefined.]
+ expected: FAIL
+
+ [Tests creating a DeviceMotionEvent.]
+ expected: FAIL
+
+ [Tests some values are empty array and some values are undefined.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini b/testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini
new file mode 100644
index 0000000000..560a44a3d8
--- /dev/null
+++ b/testing/web-platform/meta/orientation-event/motion/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