mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Backed out changeset 8ad08c64a89c (bug 769288)
This commit is contained in:
parent
225707a88d
commit
0cdbc06d09
@ -124,7 +124,6 @@ nsCertOverrideService::Init()
|
|||||||
if (observerService) {
|
if (observerService) {
|
||||||
observerService->AddObserver(this, "profile-before-change", true);
|
observerService->AddObserver(this, "profile-before-change", true);
|
||||||
observerService->AddObserver(this, "profile-do-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
|
// simulate a profile change so we read the current profile's settings file
|
||||||
Observe(nullptr, "profile-do-change", nullptr);
|
Observe(nullptr, "profile-do-change", nullptr);
|
||||||
}
|
}
|
||||||
@ -169,10 +168,6 @@ nsCertOverrideService::Observe(nsISupports *,
|
|||||||
}
|
}
|
||||||
Read();
|
Read();
|
||||||
|
|
||||||
} else if (!nsCRT::strcmp(aTopic, "last-pb-context-exited")) {
|
|
||||||
ClearValidityOverride(
|
|
||||||
NS_LITERAL_CSTRING("all:temporary-certificates"),
|
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user