Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer

Differential Revision: https://phabricator.services.mozilla.com/D207445
This commit is contained in:
Hanna Jones
2024-04-24 19:16:46 +00:00
parent 0ea1b9c61e
commit 21849b1def
23 changed files with 52 additions and 114 deletions

View File

@@ -1377,7 +1377,6 @@ var gProtectionsHandler = {
let wrapper = document.getElementById("template-protections-popup");
this._protectionsPopup = wrapper.content.firstElementChild;
wrapper.replaceWith(wrapper.content);
window.ensureCustomElements("moz-support-link");
this.maybeSetMilestoneCounterText();
@@ -1591,8 +1590,6 @@ var gProtectionsHandler = {
// Add an observer to observe that the history has been cleared.
Services.obs.addObserver(this, "browser:purge-session-history");
window.ensureCustomElements("moz-button-group", "moz-toggle");
},
uninit() {