diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Policy.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Policy.js b/src/common/Policy.js index 3f7e0c7..d67c24f 100644 --- a/src/common/Policy.js +++ b/src/common/Policy.js @@ -250,11 +250,12 @@ var {Permissions, Policy, Sites} = (() => { return true; } clone() { - return new Permissions(this.capabilities, this.temp, this.context); + return new Permissions(this.capabilities, this.temp, this.contextual); } get tempTwin() { return this._tempTwin || (this._tempTwin = new Permissions(this.capabilities, true, this.contextual)); } + } Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "other"]; |