Commit 97796d37 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Bug 16731: TBB 5.0 a3/a4 fails to download a file on right click

Account for an nsIExternalHelperAppService.idl interface change
(the parameters to the doContent() method were changed between
ESR31 and ESR38). See Mozilla bug #903022.
parent d400aecd
......@@ -191,7 +191,8 @@ ExternalWrapper.prototype =
return result;
},
doContent: function(aMimeContentType, aRequest, aWindowContext, aForceSave) {
doContent: function(aMimeContentType, aRequest, aContentContext,
aForceSave, aWindowContext) {
if(this.blockApp()) {
var check = {value: false};
var result = this._confirmLaunch(aRequest.name, check);
......@@ -201,7 +202,8 @@ ExternalWrapper.prototype =
}
}
return this._external().doContent(aMimeContentType, aRequest, aWindowContext, aForceSave);
return this._external().doContent(aMimeContentType, aRequest,
aContentContext, aForceSave, aWindowContext);
},
observe: function(subject, topic, data) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment