mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1084501 - Set proper permissions for pre-installed trusted apps. r=fabrice
When trusted hosted apps were installed from a preloaded offline cache their permissions were not correctly set due to information on 'kind' of application being missing on pre-install. --- dom/apps/Webapps.jsm | 2 ++ 1 file changed, 2 insertions(+)
This commit is contained in:
parent
1a4342bece
commit
d514bdabf1
@ -451,6 +451,8 @@ this.DOMApplicationRegistry = {
|
||||
if (supportUseCurrentProfile()) {
|
||||
this._readManifests([{ id: aId }]).then((aResult) => {
|
||||
let data = aResult[0];
|
||||
this.webapps[aId].kind = this.webapps[aId].kind ||
|
||||
this.appKind(this.webapps[aId], aResult[0].manifest);
|
||||
PermissionsInstaller.installPermissions({
|
||||
manifest: data.manifest,
|
||||
manifestURL: this.webapps[aId].manifestURL,
|
||||
|
Loading…
Reference in New Issue
Block a user