commit 08414e07fc84265961f29c3947bb6acc00cb4a61
parent fb60ab0c63ae1716a1914208cf348c47d89c327c
Author: Nicolas Chevobbe <nchevobbe@mozilla.com>
Date: Thu, 2 Oct 2025 16:09:49 +0000
Bug 1991119 - [devtools] Don't explicitly remove listener controlled by AbortController in TextPropertyEditor. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D267234
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/devtools/client/inspector/rules/views/text-property-editor.js b/devtools/client/inspector/rules/views/text-property-editor.js
@@ -1909,11 +1909,6 @@ class TextPropertyEditor {
}
destroy() {
- this.ruleView.off(
- "draggable-preference-updated",
- this.#onDraggablePreferenceChanged
- );
-
if (this.#colorSwatchSpans && this.#colorSwatchSpans.length) {
for (const span of this.#colorSwatchSpans) {
this.ruleView.tooltips.getTooltip("colorPicker").removeSwatch(span);