diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Policy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Policy.js b/src/common/Policy.js index 71e6ff9..401b19f 100644 --- a/src/common/Policy.js +++ b/src/common/Policy.js @@ -465,7 +465,7 @@ var {Permissions, Policy, Sites} = (() => { } cascadeRestrictions(perms, topUrl) { - let topPerms = ns.policy.get(topUrl, topUrl).perms; + let topPerms = this.get(topUrl, topUrl).perms; if (topPerms !== perms) { let topCaps = topPerms.capabilities; perms = new Permissions([...perms.capabilities].filter(c => topCaps.has(c)), |