mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 876122 - Fix typos in webapps actor. r=fabrice
This commit is contained in:
parent
23835ca8cd
commit
05bd560f0a
@ -128,7 +128,7 @@ WebappsActor.prototype = {
|
||||
let appType = self._getAppType(aManifest.type);
|
||||
|
||||
// In production builds, don't allow installation of certified apps.
|
||||
#ifdef MOZ_OFFICIAL
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
if (appType == Ci.nsIPrincipal.APP_STATUS_CERTIFIED) {
|
||||
self._sendError("Installing certified apps is not allowed.", aId);
|
||||
return;
|
||||
@ -210,7 +210,7 @@ WebappsActor.prototype = {
|
||||
let appType = self._getAppType(aManifest.type);
|
||||
|
||||
// In production builds, don't allow installation of certified apps.
|
||||
#ifdef MOZ_OFFICIAL
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
if (appType == Ci.nsIPrincipal.APP_STATUS_CERTIFIED) {
|
||||
self._sendError("Installing certified apps is not allowed.", aId);
|
||||
return;
|
||||
@ -286,7 +286,7 @@ WebappsActor.prototype = {
|
||||
|
||||
if (missing) {
|
||||
try {
|
||||
aDir.remove(true);
|
||||
appDir.remove(true);
|
||||
} catch(e) {}
|
||||
return { error: "badParameterType",
|
||||
message: "hosted app file is missing" }
|
||||
|
Loading…
Reference in New Issue
Block a user