[tor-bugs] #4338 [Tor Browser]: TBB creates Mozilla folder in user folder
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Nov 28 21:22:24 UTC 2011
#4338: TBB creates Mozilla folder in user folder
---------------------------------+------------------------------------------
Reporter: cypherpunks | Owner: mikeperry
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor Browser | Version:
Keywords: backport-to-mozilla | Parent:
Points: | Actualpoints:
---------------------------------+------------------------------------------
Comment(by Shondoit):
Replying to [comment:7 mikeperry]:
> 12:41 < Shondoit> I found out that when, in torbutton.js, line 4180:
> istream.init(chan.open()); is commented out, that the
Mozilla
> folder is not created during startup.
>
> The line in question is just a call to read the contents of a chrome url
(specifically chrome://torbutton/content/jshooks4.js). It must trigger
some kind of initialization code that creates the directory, but I have no
idea why or how.
The reason this works is because the script errors out before it can
trigger the folder creation.
If you were to introduce a syntax error the script would not run and also
not trigger the creation.
Basically, it was a red herring.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4338#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list