Fix typo "breaking" yet to be implemented contextual permissions.
This commit is contained in:
parent
6208e7dbb3
commit
c245237c96
|
@ -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"];
|
||||||
|
|
Loading…
Reference in New Issue