From 3448d3fb209f8e30752385707b93a0cf1c2dc219 Mon Sep 17 00:00:00 2001 From: gterzian <2792687+gterzian@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:30:35 +0700 Subject: [PATCH] re-add prefs Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --- components/script_bindings/webidls/AbortController.webidl | 2 +- components/script_bindings/webidls/AbortSignal.webidl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script_bindings/webidls/AbortController.webidl b/components/script_bindings/webidls/AbortController.webidl index f3b9636d650..bb20ec24955 100644 --- a/components/script_bindings/webidls/AbortController.webidl +++ b/components/script_bindings/webidls/AbortController.webidl @@ -3,7 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // https://dom.spec.whatwg.org/#interface-abortcontroller -[Exposed=*] +[Exposed=*, Pref="dom_abort_controller_enabled"] interface AbortController { constructor(); diff --git a/components/script_bindings/webidls/AbortSignal.webidl b/components/script_bindings/webidls/AbortSignal.webidl index bea70e41739..1ec9fbcd3a4 100644 --- a/components/script_bindings/webidls/AbortSignal.webidl +++ b/components/script_bindings/webidls/AbortSignal.webidl @@ -4,7 +4,7 @@ // https://dom.spec.whatwg.org/#abortsignal -[Exposed=*] +[Exposed=*, Pref="dom_abort_controller_enabled"] interface AbortSignal : EventTarget { readonly attribute boolean aborted; readonly attribute any reason;