[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8987 [Tor bundles/installation]: OS X Saved Application State contains some TBB website window titles
#8987: OS X Saved Application State contains some TBB website window titles
--------------------------------------+-------------------------------------
Reporter: runa | Owner: erinn
Type: defect | Status: new
Priority: major | Milestone:
Component: Tor bundles/installation | Version:
Keywords: tbb-disk-leak | Parent:
Points: | Actualpoints:
--------------------------------------+-------------------------------------
Comment(by freshwaterstrawberry):
Sorry for the quick updates, but I decided to try out
https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.6esr/mac/en-
US/
As runa noted, it does not have any directory in Saved Application State
whatsoever. Investigating, I found that Apple in AppKit specifically
blacklists certain application versions from having persistence enabled,
hilariously. Specifically, it checks (among other applications), that
_CFAppVersionCheckLessThan(CFSTR("org.mozilla.firefox"), -1.0) is true. If
this occurs, [NSPersistentUIManager sharedManager], which is the class
that many other classes call into to save their states, actually returns
nil. I didn't check for this earlier as I've never seen a feature disabled
in such a fashion before.
However, reading that function, I've discovered a much cleaner and easier,
albeit undocumented way, to entirely turn off any traces of the
org.mozilla.torbrowser.savedState directory (as is the case for Firefox).
Merely add <key>NSDisablePersistence</key><true/> to /Applications
/TorBrowser_en-US.app/Contents/MacOS/TorBrowser.app/Contents/Info.plist is
sufficient to trigger this behavior.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8987#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs