Backed out changeset 52632d896ef7 (bug 985614) for m-oth bustage

This commit is contained in:
Wes Kocher 2014-05-23 12:13:54 -07:00
Родитель 5d7d90b289
Коммит 046b6cc55e
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -2524,9 +2524,7 @@ this.DOMApplicationRegistry = {
yield this._saveApps();
this.broadcastMessage("Webapps:AddApp", { id: id, app: appObject });
// The presence of a requestID means that we have a page to update.
if (aData.isPackage && !aData.requestID) {
if (aData.isPackage && aData.autoInstall) {
// Skip directly to onInstallSuccessAck, since there isn't
// a WebappsRegistry to receive Webapps:Install:Return:OK and respond
// Webapps:Install:Return:Ack when an app is being auto-installed.

Просмотреть файл

@ -217,6 +217,7 @@ this.WebappManager = {
message.app.manifest = aData.manifest;
message.app.apkPackageName = aData.apkPackageName;
message.profilePath = aData.profilePath;
message.autoInstall = true;
message.mm = mm;
DOMApplicationRegistry.registryReady.then(() => {