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
......@@ -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));
}
};
......
Markdown is supported
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