From c245237c96acc48864c66fcd63fe2b236c7dfc79 Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 27 Sep 2019 15:34:12 +0200 Subject: Fix typo "breaking" yet to be implemented contextual permissions. --- src/common/Policy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') 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"]; -- cgit v1.2.3