mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048671 - interface is a reserved identifier in nsHandlerService.js, r=smaug
--HG-- extra : rebase_source : e826ee9482bb9dfc1cf1b984141058220882b73a
This commit is contained in:
parent
a01a3a82c2
commit
07a99a35dd
@ -569,8 +569,8 @@ HandlerService.prototype = {
|
||||
if (!objpath)
|
||||
return null;
|
||||
|
||||
let interface = this._getValue(aHandlerAppID, NC_INTERFACE);
|
||||
if (!interface)
|
||||
let iface = this._getValue(aHandlerAppID, NC_INTERFACE);
|
||||
if (!iface)
|
||||
return null;
|
||||
|
||||
handlerApp = Cc["@mozilla.org/uriloader/dbus-handler-app;1"].
|
||||
@ -578,7 +578,7 @@ HandlerService.prototype = {
|
||||
handlerApp.service = service;
|
||||
handlerApp.method = method;
|
||||
handlerApp.objectPath = objpath;
|
||||
handlerApp.dBusInterface = interface;
|
||||
handlerApp.dBusInterface = iface;
|
||||
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user