Fix typo "breaking" yet to be implemented contextual permissions.

This commit is contained in:
hackademix 2019-09-27 15:34:12 +02:00
parent 6208e7dbb3
commit c245237c96
1 changed files with 2 additions and 1 deletions

View File

@ -250,11 +250,12 @@ var {Permissions, Policy, Sites} = (() => {
return true; return true;
} }
clone() { clone() {
return new Permissions(this.capabilities, this.temp, this.context); return new Permissions(this.capabilities, this.temp, this.contextual);
} }
get tempTwin() { get tempTwin() {
return this._tempTwin || (this._tempTwin = new Permissions(this.capabilities, true, this.contextual)); return this._tempTwin || (this._tempTwin = new Permissions(this.capabilities, true, this.contextual));
} }
} }
Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "other"]; Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "other"];