Skip to content

Commit

Permalink
[embedlite-components] Drop AboutCertViewerHandler init/uninit
Browse files Browse the repository at this point in the history
The AboutCertViewerHandler has been converted to an actor-based RPM and
so no longer needs initialising or deinitialising. See Bug 1646197 and
its associated changeset D80017:

https://bugzilla.mozilla.org/show_bug.cgi?id=1646197

https://phabricator.services.mozilla.com/D80017

This change essentially reverts commit b1510a7.
  • Loading branch information
llewelld committed Dec 3, 2023
1 parent ff5053b commit b3a105b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions jscomps/EmbedLiteChromeManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { NetErrorHelper } = ChromeUtils.import("chrome://embedlite/content/NetErrorHelper.jsm")

XPCOMUtils.defineLazyModuleGetters(this, {
AboutCertViewerHandler: "resource://gre/modules/AboutCertViewerHandler.jsm",
ContentLinkHandler: "chrome://embedlite/content/ContentLinkHandler.jsm",
Feeds: "chrome://embedlite/content/Feeds.jsm"
});
Expand Down Expand Up @@ -137,8 +136,6 @@ EmbedLiteChromeManager.prototype = {
Services.obs.addObserver(this, "embed-network-link-status", true)
Services.obs.addObserver(this, "domwindowclosed", true);
Services.obs.addObserver(this, "keyword-uri-fixup", true);
Services.obs.addObserver(this, "browser-delayed-startup-finished");
Services.obs.addObserver(this, "xpcom-shutdown");
},

onWindowOpen(aWindow) {
Expand Down Expand Up @@ -209,13 +206,6 @@ EmbedLiteChromeManager.prototype = {
Services.io.offline = network.offline;
Services.obs.notifyObservers(null, "network:link-status-changed",
network.offline ? "down" : "up");
case "browser-delayed-startup-finished":
AboutCertViewerHandler.init();
Services.obs.removeObserver(this, "browser-delayed-startup-finished");
break;
case "xpcom-shutdown":
AboutCertViewerHandler.uninit();
break;
default:
Logger.debug("EmbedLiteChromeManager subject", aSubject, "topic:", aTopic);
}
Expand Down

0 comments on commit b3a105b

Please sign in to comment.