Backed out changeset 3b25f7b4a9ce (bug 769288)

This commit is contained in:
Josh Matthews 2012-12-07 19:45:51 -05:00
parent 000047ee02
commit 828cfad284

View File

@ -439,6 +439,11 @@ PrivateBrowsingService.prototype = {
this._unload();
break;
case "private-browsing":
// clear all auth tokens
let sdr = Cc["@mozilla.org/security/sdr;1"].
getService(Ci.nsISecretDecoderRing);
sdr.logoutAndTeardown();
if (!this._inPrivateBrowsing) {
// Clear the error console
let consoleService = Cc["@mozilla.org/consoleservice;1"].