summaryrefslogtreecommitdiffstats
path: root/testing/marionette/harness
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /testing/marionette/harness
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/marionette/harness')
-rw-r--r--testing/marionette/harness/marionette_harness/tests/unit-tests.toml1
-rw-r--r--testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/testing/marionette/harness/marionette_harness/tests/unit-tests.toml b/testing/marionette/harness/marionette_harness/tests/unit-tests.toml
index 26f6f559f0..d7b455204a 100644
--- a/testing/marionette/harness/marionette_harness/tests/unit-tests.toml
+++ b/testing/marionette/harness/marionette_harness/tests/unit-tests.toml
@@ -37,6 +37,7 @@
# toolkit tests
["include:../../../../../toolkit/components/cleardata/tests/marionette/manifest.toml"]
+["include:../../../../../toolkit/components/extensions/test/marionette/manifest-serviceworker.toml"]
["include:../../../../../toolkit/xre/test/marionette/marionette.toml"]
# update tests
diff --git a/testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py b/testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py
index 476d9c5729..ba35bd6b99 100644
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py
@@ -48,3 +48,7 @@ class TestSetPermission(MarionetteTestCase):
self.assertEqual(
self.query_permission({"name": "midi", "sysex": True}), "prompt"
)
+
+ def test_storage_access(self):
+ self.marionette.set_permission({"name": "storage-access"}, "granted")
+ self.assertEqual(self.query_permission({"name": "storage-access"}), "granted")