summaryrefslogtreecommitdiffstats
path: root/extensions/permissions/test/unit/test_permmanager_cleardata.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /extensions/permissions/test/unit/test_permmanager_cleardata.js
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/permissions/test/unit/test_permmanager_cleardata.js')
-rw-r--r--extensions/permissions/test/unit/test_permmanager_cleardata.js17
1 files changed, 1 insertions, 16 deletions
diff --git a/extensions/permissions/test/unit/test_permmanager_cleardata.js b/extensions/permissions/test/unit/test_permmanager_cleardata.js
index 2bd4d11319..f732c70cce 100644
--- a/extensions/permissions/test/unit/test_permmanager_cleardata.js
+++ b/extensions/permissions/test/unit/test_permmanager_cleardata.js
@@ -66,13 +66,7 @@ function run_test() {
pm = Services.perms;
- let entries = [
- { origin: "http://example.com", originAttributes: {} },
- {
- origin: "http://example.com",
- originAttributes: { inIsolatedMozBrowser: true },
- },
- ];
+ let entries = [{ origin: "http://example.com", originAttributes: {} }];
// In that case, all permissions should be removed.
test(entries, getData({}), [
@@ -81,13 +75,4 @@ function run_test() {
pm.ALLOW_ACTION,
pm.ALLOW_ACTION,
]);
-
- // In that case, only the permissions related to a browserElement should be removed.
- // All the other permissions should stay.
- test(entries, getData({ inIsolatedMozBrowser: true }), [
- pm.ALLOW_ACTION,
- pm.UNKNOWN_ACTION,
- pm.ALLOW_ACTION,
- pm.ALLOW_ACTION,
- ]);
}