[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 10352: Clear Private Browsing Mode data during New Identity
commit 06f74292f7e0e886f1d1fdde1307e9f54d3e9bf9
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits