[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] Bug 34125: API change in protocolProxyService.registerChannelFilter



commit f7781188a004a3e89c2d7cc3bd526a1856ac14de
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
Date:   Wed May 6 13:43:14 2020 +0200

    Bug 34125: API change in protocolProxyService.registerChannelFilter
---
 components/domain-isolator.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/domain-isolator.js b/components/domain-isolator.js
index 3ed6e58f..38d0abe8 100644
--- a/components/domain-isolator.js
+++ b/components/domain-isolator.js
@@ -36,7 +36,7 @@ mozilla.protocolProxyService = Cc["@mozilla.org/network/protocol-proxy-service;1
 // for the given channel, and should return a new Proxy or list of Proxies.
 mozilla.registerProxyChannelFilter = function (filterFunction, positionIndex) {
   let proxyFilter = {
-    applyFilter : function (aProxyService, aChannel, aProxy, aCallback) {
+    applyFilter : function (aChannel, aProxy, aCallback) {
       aCallback.onProxyFilterResult(filterFunction(aChannel, aProxy));
     }
   };



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits