mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788751 - Bubble the manifestURL in the webapps-launch mozChromeEvent. r=vingtetun
This commit is contained in:
parent
aecf172619
commit
abc1d7153f
@ -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) });
|
||||
|
Loading…
Reference in New Issue
Block a user