aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/permissions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/permissions.rs')
-rw-r--r--components/script/dom/permissions.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/permissions.rs b/components/script/dom/permissions.rs
index cb91fb692f9..e31ce563262 100644
--- a/components/script/dom/permissions.rs
+++ b/components/script/dom/permissions.rs
@@ -143,7 +143,6 @@ impl Permissions {
// (Revoke) Step 3.
let globalscope = self.global();
globalscope
- .as_window()
.permission_state_invocation_results()
.borrow_mut()
.remove(&root_desc.name.to_string());
@@ -176,7 +175,6 @@ impl Permissions {
// (Revoke) Step 3.
let globalscope = self.global();
globalscope
- .as_window()
.permission_state_invocation_results()
.borrow_mut()
.remove(&root_desc.name.to_string());
@@ -269,7 +267,6 @@ impl PermissionAlgorithm for Permissions {
);
globalscope
- .as_window()
.permission_state_invocation_results()
.borrow_mut()
.insert(perm_name.to_string(), state);
@@ -309,7 +306,6 @@ pub fn get_descriptor_permission_state(
PermissionState::Granted
} else {
settings
- .as_window()
.permission_state_invocation_results()
.borrow_mut()
.remove(&permission_name.to_string());
@@ -323,7 +319,6 @@ pub fn get_descriptor_permission_state(
// Step 3.
if let Some(prev_result) = settings
- .as_window()
.permission_state_invocation_results()
.borrow()
.get(&permission_name.to_string())
@@ -333,7 +328,6 @@ pub fn get_descriptor_permission_state(
// Store the invocation result
settings
- .as_window()
.permission_state_invocation_results()
.borrow_mut()
.insert(permission_name.to_string(), state);