[tor-bugs] #2471 [EFF-HTTPS Everywhere]: Port HTTPSEverywhere to Fennec+Electrolysis
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Mar 31 19:02:14 UTC 2011
#2471: Port HTTPSEverywhere to Fennec+Electrolysis
----------------------------------+-----------------------------------------
Reporter: mikeperry | Owner: mikeperry
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: EFF-HTTPS Everywhere | Version:
Keywords: | Parent: #1506
Points: 6 | Actualpoints:
----------------------------------+-----------------------------------------
Comment(by mikeperry):
Ok, I got some info from #mobile on irc.mozilla.org. mfinkle said that we
should definitely only register the http-* observers in the parent
process, as those are fired for every element load.
fabrice said that AdBlockPlus registers a content policy for each child
process and implements a cache to avoid performing the message passing RTT
for every element:
https://hg.adblockplus.org/adblockplus/file/7d47f4083064/modules/ContentPolicyRemote.jsm
https://hg.adblockplus.org/adblockplus/file/7d47f4083064/modules/Utils.jsm
https://hg.adblockplus.org/adblockplus/file/7d47f4083064/chrome/content/fennecContent.js
He did not know why ABP still registers http-on-modify-request as well as
onChannelRedirect in the remote children. It has something to do with
properly tracking channels according to the comments. Not sure if it is
required because onChannelRedirect is not fired to children, or if it is
merely a scoping convenience thing..
Sounds like a real proper mess that the ABP people managed to untangle
enough for it to function, but it still doesn't sound very sane, robust,
or efficient...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2471#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list