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;