commit 6d91498cf88ec45d892676ef7a6f155b3661f1a8
parent a1a75a53edc3422ea412a1d1311e31e3cb02d2ed
Author: mozzine <mhynson@mozilla.com>
Date: Wed, 7 Jan 2026 20:45:35 +0000
Bug 2002677 - removing unnecessary event init for IPProtection, r=ip-protection-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D278043
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/browser/components/ipprotection/content/ipprotection-status-card.mjs b/browser/components/ipprotection/content/ipprotection-status-card.mjs
@@ -53,13 +53,11 @@ export default class IPProtectionStatusCard extends MozLitElement {
connectedCallback() {
super.connectedCallback();
- this.dispatchEvent(new CustomEvent("IPProtection:Init", { bubbles: true }));
this.addEventListener("keydown", this.keyListener, { capture: true });
}
disconnectedCallback() {
super.disconnectedCallback();
-
this.removeEventListener("keydown", this.keyListener, { capture: true });
}