Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
torbutton
Commits
f7781188
Commit
f7781188
authored
May 06, 2020
by
Alex Catarineu
Committed by
Georg Koppen
Jun 14, 2020
Browse files
Bug 34125: API change in protocolProxyService.registerChannelFilter
parent
6c3d159a
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/domain-isolator.js
View file @
f7781188
...
...
@@ -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
));
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment