mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963258 - Prevent exception when using webconsole in alarm code. r=gene
This commit is contained in:
parent
6d27822d35
commit
8156d7c7e1
@ -180,7 +180,7 @@ AlarmsManager.prototype = {
|
||||
// Get the manifest URL if this is an installed app
|
||||
let appsService = Cc["@mozilla.org/AppsService;1"]
|
||||
.getService(Ci.nsIAppsService);
|
||||
this._pageURL = principal.URI.spec;
|
||||
this._pageURL = aWindow.location.href;
|
||||
this._manifestURL = appsService.getManifestURLByLocalId(principal.appId);
|
||||
this._window = aWindow;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user