mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167056 - Fix broken indentation. r=gwagner
This commit is contained in:
parent
1d7787e953
commit
461e034c13
@ -376,32 +376,32 @@ SpecialPowersObserverAPI.prototype = {
|
||||
return;
|
||||
}
|
||||
case "inject-app":
|
||||
{
|
||||
{
|
||||
let aAppId = aMessage.json.appId;
|
||||
let aApp = aMessage.json.app;
|
||||
let aApp = aMessage.json.app;
|
||||
|
||||
let keys = Object.keys(Webapps.DOMApplicationRegistry.webapps);
|
||||
let exists = keys.indexOf(aAppId) !== -1;
|
||||
if (exists) {
|
||||
let exists = keys.indexOf(aAppId) !== -1;
|
||||
if (exists) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Webapps.DOMApplicationRegistry.webapps[aAppId] = aApp;
|
||||
return true;
|
||||
}
|
||||
case "reject-app":
|
||||
{
|
||||
return true;
|
||||
}
|
||||
case "reject-app":
|
||||
{
|
||||
let aAppId = aMessage.json.appId;
|
||||
|
||||
let keys = Object.keys(Webapps.DOMApplicationRegistry.webapps);
|
||||
let exists = keys.indexOf(aAppId) !== -1;
|
||||
if (!exists) {
|
||||
let exists = keys.indexOf(aAppId) !== -1;
|
||||
if (!exists) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
delete Webapps.DOMApplicationRegistry.webapps[aAppId];
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
throw new SpecialPowersError("Invalid operation for SPWebAppsService");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user