[tor-commits] [torbutton/master] Bug 10352: Clear Private Browsing Mode data during New Identity
mikeperry at torproject.org
mikeperry at torproject.org
Wed Dec 11 04:00:27 UTC 2013
commit 06f74292f7e0e886f1d1fdde1307e9f54d3e9bf9
Author: Mike Perry <mikeperry-git at torproject.org>
Date: Tue Dec 10 19:56:20 2013 -0800
Bug 10352: Clear Private Browsing Mode data during New Identity
Needed on FF24. The current cache, cookie and DOM Storage APIs do not
otherwise clear private browsing mode data.
---
src/chrome/content/torbutton.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 3b76595..b870048 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1593,6 +1593,9 @@ function torbutton_do_new_identity() {
}
}
+ torbutton_log(3, "Ending any remaining private browsing sessions.");
+ obsSvc.notifyObservers(null, "last-pb-context-exited", "");
+
torbutton_log(3, "New Identity: Opening a new browser window");
// Open a new window with the TBB check homepage
More information about the tor-commits
mailing list