[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 16731: TBB 5.0 a3/a4 fails to download a file on right click
commit 97796d37738679b232a226f039e9b407b1a47c98
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
Date: Wed Aug 5 15:02:19 2015 -0400
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.
---
src/components/external-app-blocker.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/external-app-blocker.js b/src/components/external-app-blocker.js
index cabd72b..b349ab4 100644
--- a/src/components/external-app-blocker.js
+++ b/src/components/external-app-blocker.js
@@ -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) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits