зеркало из https://github.com/mozilla/gecko-dev.git
Bug 788751 - Bubble the manifestURL in the webapps-launch mozChromeEvent. r=vingtetun
This commit is contained in:
Родитель
795db28096
Коммит
245e31e5d1
|
@ -352,8 +352,7 @@ var shell = {
|
|||
this.sendChromeEvent({
|
||||
type: 'open-app',
|
||||
url: msg.uri,
|
||||
origin: origin,
|
||||
manifest: msg.manifest,
|
||||
manifestURL: msg.manifest,
|
||||
isActivity: (msg.type == 'activity'),
|
||||
target: msg.target
|
||||
});
|
||||
|
@ -601,7 +600,7 @@ var WebappsHelper = {
|
|||
shell.sendChromeEvent({
|
||||
"type": "webapps-launch",
|
||||
"url": manifest.fullLaunchPath(json.startPoint),
|
||||
"origin": json.origin
|
||||
"manifestURL": json.manifestURL
|
||||
});
|
||||
});
|
||||
break;
|
||||
|
|
|
@ -274,6 +274,7 @@ WebappsApplication.prototype = {
|
|||
launch: function(aStartPoint) {
|
||||
let request = this.createRequest();
|
||||
cpmm.sendAsyncMessage("Webapps:Launch", { origin: this.origin,
|
||||
manifestURL: this.manifestURL,
|
||||
startPoint: aStartPoint || "",
|
||||
oid: this._id,
|
||||
requestID: this.getRequestId(request) });
|
||||
|
|
Загрузка…
Ссылка в новой задаче