Backed out changeset 571f73bc8d01 (bug 769288)

This commit is contained in:
Josh Matthews 2012-12-12 02:53:06 -05:00
parent ffa908cbe2
commit 375e22f5b1

View File

@ -124,7 +124,6 @@ nsCertOverrideService::Init()
if (observerService) {
observerService->AddObserver(this, "profile-before-change", true);
observerService->AddObserver(this, "profile-do-change", true);
observerService->AddObserver(this, "last-pb-context-exited", true);
// simulate a profile change so we read the current profile's settings file
Observe(nullptr, "profile-do-change", nullptr);
}
@ -169,10 +168,6 @@ nsCertOverrideService::Observe(nsISupports *,
}
Read();
} else if (!nsCRT::strcmp(aTopic, "last-pb-context-exited")) {
ClearValidityOverride(
NS_LITERAL_CSTRING("all:temporary-certificates"),
0);
}
return NS_OK;