diff options
Diffstat (limited to 'testing/marionette/harness')
-rw-r--r-- | testing/marionette/harness/marionette_harness/tests/unit-tests.toml | 1 | ||||
-rw-r--r-- | testing/marionette/harness/marionette_harness/tests/unit/test_set_permission.py | 4 |
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") |