summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/permissions
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/permissions
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/permissions')
-rw-r--r--testing/web-platform/meta/permissions/all-permissions.html.ini42
-rw-r--r--testing/web-platform/meta/permissions/idlharness.any.js.ini84
-rw-r--r--testing/web-platform/meta/permissions/midi-permission.html.ini3
-rw-r--r--testing/web-platform/meta/permissions/non-fully-active.https.html.ini6
-rw-r--r--testing/web-platform/meta/permissions/permissions-cg.https.html.ini4
-rw-r--r--testing/web-platform/meta/permissions/permissions-garbage-collect.https.html.ini4
-rw-r--r--testing/web-platform/meta/permissions/permissions-query-feature-policy-attribute.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/permissions/permissionsstatus-name.html.ini3
8 files changed, 150 insertions, 0 deletions
diff --git a/testing/web-platform/meta/permissions/all-permissions.html.ini b/testing/web-platform/meta/permissions/all-permissions.html.ini
new file mode 100644
index 0000000000..4a5450eb10
--- /dev/null
+++ b/testing/web-platform/meta/permissions/all-permissions.html.ini
@@ -0,0 +1,42 @@
+[all-permissions.html]
+ [Query "accelerometer" permission]
+ expected: FAIL
+
+ [Query "ambient-light-sensor" permission]
+ expected: FAIL
+
+ [Query "background-fetch" permission]
+ expected: FAIL
+
+ [Query "background-sync" permission]
+ expected: FAIL
+
+ [Query "bluetooth" permission]
+ expected: FAIL
+
+ [Query "gyroscope" permission]
+ expected: FAIL
+
+ [Query "magnetometer" permission]
+ expected: FAIL
+
+ [Query "nfc" permission]
+ expected: FAIL
+
+ [Query "screen-wake-lock" permission]
+ expected: FAIL
+
+ [Query "camera" permission]
+ expected: FAIL
+
+ [Query "display-capture" permission]
+ expected: FAIL
+
+ [Query "microphone" permission]
+ expected: FAIL
+
+ [Query "speaker-selection" permission]
+ expected: FAIL
+
+ [Query "xr-spatial-tracking" permission]
+ expected: FAIL
diff --git a/testing/web-platform/meta/permissions/idlharness.any.js.ini b/testing/web-platform/meta/permissions/idlharness.any.js.ini
new file mode 100644
index 0000000000..3c926415e4
--- /dev/null
+++ b/testing/web-platform/meta/permissions/idlharness.any.js.ini
@@ -0,0 +1,84 @@
+[idlharness.any.worker.html]
+ [Permissions interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PermissionStatus interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [Permissions interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Permissions interface: navigator.permissions must inherit property "query(object)" with the proper type]
+ expected: FAIL
+
+ [PermissionStatus interface: permissionStatus must inherit property "onchange" with the proper type]
+ expected: FAIL
+
+ [PermissionStatus interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Permissions interface object name]
+ expected: FAIL
+
+ [WorkerNavigator interface: attribute permissions]
+ expected: FAIL
+
+ [Permissions interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [WorkerNavigator interface: navigator must inherit property "permissions" with the proper type]
+ expected: FAIL
+
+ [Permissions interface object length]
+ expected: FAIL
+
+ [Permissions interface: operation query(object)]
+ expected: FAIL
+
+ [PermissionStatus interface object name]
+ expected: FAIL
+
+ [PermissionStatus interface: attribute state]
+ expected: FAIL
+
+ [PermissionStatus interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Permissions must be primary interface of navigator.permissions]
+ expected: FAIL
+
+ [PermissionStatus interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PermissionStatus interface: attribute onchange]
+ expected: FAIL
+
+ [PermissionStatus must be primary interface of permissionStatus]
+ expected: FAIL
+
+ [PermissionStatus interface object length]
+ expected: FAIL
+
+ [PermissionStatus interface: permissionStatus must inherit property "state" with the proper type]
+ expected: FAIL
+
+ [Permissions interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Stringification of permissionStatus]
+ expected: FAIL
+
+ [Stringification of navigator.permissions]
+ expected: FAIL
+
+ [Permissions interface: calling query(object) on navigator.permissions with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [PermissionStatus interface: attribute name]
+ expected: FAIL
+
+ [PermissionStatus interface: permissionStatus must inherit property "name" with the proper type]
+ expected: FAIL
+
+
+[idlharness.any.html]
diff --git a/testing/web-platform/meta/permissions/midi-permission.html.ini b/testing/web-platform/meta/permissions/midi-permission.html.ini
new file mode 100644
index 0000000000..de40b84d8b
--- /dev/null
+++ b/testing/web-platform/meta/permissions/midi-permission.html.ini
@@ -0,0 +1,3 @@
+[midi-permission.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/permissions/non-fully-active.https.html.ini b/testing/web-platform/meta/permissions/non-fully-active.https.html.ini
new file mode 100644
index 0000000000..4093b995c3
--- /dev/null
+++ b/testing/web-platform/meta/permissions/non-fully-active.https.html.ini
@@ -0,0 +1,6 @@
+[non-fully-active.https.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Permission change events shouldn't fire on non-fully active document]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/permissions/permissions-cg.https.html.ini b/testing/web-platform/meta/permissions/permissions-cg.https.html.ini
new file mode 100644
index 0000000000..a36107c9c3
--- /dev/null
+++ b/testing/web-platform/meta/permissions/permissions-cg.https.html.ini
@@ -0,0 +1,4 @@
+[permissions-cg.https.html]
+ expected: ERROR
+ [status is not garbage collected when it goes out of scope]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/permissions/permissions-garbage-collect.https.html.ini b/testing/web-platform/meta/permissions/permissions-garbage-collect.https.html.ini
new file mode 100644
index 0000000000..66d6b20c58
--- /dev/null
+++ b/testing/web-platform/meta/permissions/permissions-garbage-collect.https.html.ini
@@ -0,0 +1,4 @@
+[permissions-garbage-collect.https.html]
+ expected: ERROR
+ [Events fire even if the status object is garbage collected]
+ expected: FAIL
diff --git a/testing/web-platform/meta/permissions/permissions-query-feature-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/permissions/permissions-query-feature-policy-attribute.https.sub.html.ini
new file mode 100644
index 0000000000..cce4d0c109
--- /dev/null
+++ b/testing/web-platform/meta/permissions/permissions-query-feature-policy-attribute.https.sub.html.ini
@@ -0,0 +1,4 @@
+prefs: [permissions.delegation.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true]
+[permissions-query-feature-policy-attribute.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/permissions/permissionsstatus-name.html.ini b/testing/web-platform/meta/permissions/permissionsstatus-name.html.ini
new file mode 100644
index 0000000000..fb6cc3dbee
--- /dev/null
+++ b/testing/web-platform/meta/permissions/permissionsstatus-name.html.ini
@@ -0,0 +1,3 @@
+[permissionsstatus-name.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]