Bug 769288 - Part 6: Remove global private browsing NSS cleanup on exit. r=ehsan

This commit is contained in:
Josh Matthews 2012-12-06 22:35:26 -05:00
parent 22a51d9ed1
commit 3f92998af0

View File

@ -439,11 +439,6 @@ 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"].