From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- testing/marionette/harness/marionette_harness/tests/unit-tests.toml | 1 + .../harness/marionette_harness/tests/unit/test_set_permission.py | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'testing/marionette/harness') 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") -- cgit v1.2.3