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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user