Bug 1048671 - interface is a reserved identifier in nsHandlerService.js, r=smaug

--HG--
extra : rebase_source : e826ee9482bb9dfc1cf1b984141058220882b73a
This commit is contained in:
Joshua Cranmer 2014-08-05 07:49:52 -05:00
parent a01a3a82c2
commit 07a99a35dd

View File

@ -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