Commit f7781188 authored by Alex Catarineu's avatar Alex Catarineu Committed by Georg Koppen
Browse files

Bug 34125: API change in protocolProxyService.registerChannelFilter

parent 6c3d159a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
    }
  };