diff options
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/AbortController.webidl (renamed from dom/webidl/FetchController.webidl) | 10 | ||||
-rw-r--r-- | dom/webidl/AbortSignal.webidl (renamed from dom/webidl/FetchSignal.webidl) | 4 | ||||
-rw-r--r-- | dom/webidl/Request.webidl | 4 | ||||
-rw-r--r-- | dom/webidl/moz.build | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/dom/webidl/FetchController.webidl b/dom/webidl/AbortController.webidl index c5b1cc6da..f5d8f317b 100644 --- a/dom/webidl/FetchController.webidl +++ b/dom/webidl/AbortController.webidl @@ -5,11 +5,11 @@ */ [Constructor(), Exposed=(Window,Worker), - Func="FetchController::IsEnabled"] -interface FetchController { - readonly attribute FetchSignal signal; + Func="AbortController::IsEnabled"] +interface AbortController { + readonly attribute AbortSignal signal; void abort(); - void follow(FetchSignal signal); - void unfollow(FetchSignal signal); + void follow(AbortSignal signal); + void unfollow(AbortSignal signal); }; diff --git a/dom/webidl/FetchSignal.webidl b/dom/webidl/AbortSignal.webidl index 965355c20..b4b03bb7e 100644 --- a/dom/webidl/FetchSignal.webidl +++ b/dom/webidl/AbortSignal.webidl @@ -5,8 +5,8 @@ */ [Exposed=(Window,Worker), - Func="FetchController::IsEnabled"] -interface FetchSignal : EventTarget { + Func="AbortController::IsEnabled"] +interface AbortSignal : EventTarget { readonly attribute boolean aborted; attribute EventHandler onabort; diff --git a/dom/webidl/Request.webidl b/dom/webidl/Request.webidl index 8c6e33da3..fe6a63ec0 100644 --- a/dom/webidl/Request.webidl +++ b/dom/webidl/Request.webidl @@ -48,8 +48,8 @@ dictionary RequestInit { RequestRedirect redirect; DOMString integrity; - [Func="FetchController::IsEnabled"] - FetchSignal signal; + [Func="AbortController::IsEnabled"] + AbortSignal signal; [Func="FetchObserver::IsEnabled"] ObserverCallback observe; diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build index 0963e3d01..d8309c265 100644 --- a/dom/webidl/moz.build +++ b/dom/webidl/moz.build @@ -17,6 +17,8 @@ PREPROCESSED_WEBIDL_FILES = [ ] WEBIDL_FILES = [ + 'AbortController.webidl', + 'AbortSignal.webidl', 'AbstractWorker.webidl', 'AnalyserNode.webidl', 'Animatable.webidl', @@ -141,10 +143,8 @@ WEBIDL_FILES = [ 'ExtendableMessageEvent.webidl', 'FakePluginTagInit.webidl', 'Fetch.webidl', - 'FetchController.webidl', 'FetchEvent.webidl', 'FetchObserver.webidl', - 'FetchSignal.webidl', 'File.webidl', 'FileList.webidl', 'FileMode.webidl', |