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

gk at torproject.org gk at torproject.org
Sun Jun 14 15:37:20 UTC 2020


commit f7781188a004a3e89c2d7cc3bd526a1856ac14de
Author: Alex Catarineu <acat at torproject.org>
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));
     }
   };





More information about the tor-commits mailing list