From 384ac4a9f06cce2030bc44f2f5d1ad92d8331294 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 10 Jun 2020 21:08:58 +0000 Subject: Issue mcp-graveyard/UXP%1587 - Part 1: Implement FetchController/FetchSignal interface --- dom/webidl/Request.webidl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dom/webidl/Request.webidl') diff --git a/dom/webidl/Request.webidl b/dom/webidl/Request.webidl index e29c084d0..00497456a 100644 --- a/dom/webidl/Request.webidl +++ b/dom/webidl/Request.webidl @@ -47,6 +47,9 @@ dictionary RequestInit { RequestCache cache; RequestRedirect redirect; DOMString integrity; + + [Func="FetchController::IsEnabled"] + FetchSignal signal; }; // Gecko currently does not ship RequestContext, so please don't use it in IDL -- cgit v1.2.3 From 15bd55e5d512de8b2e65f03251f6497b85a8ae5a Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 11 Jun 2020 08:22:04 +0000 Subject: Issue mcp-graveyard/UXP%1587 - Part 4: Implement FetchObserver --- dom/webidl/Request.webidl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dom/webidl/Request.webidl') diff --git a/dom/webidl/Request.webidl b/dom/webidl/Request.webidl index 00497456a..8c6e33da3 100644 --- a/dom/webidl/Request.webidl +++ b/dom/webidl/Request.webidl @@ -50,6 +50,9 @@ dictionary RequestInit { [Func="FetchController::IsEnabled"] FetchSignal signal; + + [Func="FetchObserver::IsEnabled"] + ObserverCallback observe; }; // Gecko currently does not ship RequestContext, so please don't use it in IDL -- cgit v1.2.3 From 6483a3cab27470a75adb9d21e2ddfb079f05cbf9 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 11 Jun 2020 23:20:52 +0000 Subject: Issue mcp-graveyard/UXP%1587 - Part 7: Rename FetchController to AbortController Also renames FetchSignal to AbortSignal. Includes renaming the various controlling prefs to enable. --- dom/webidl/Request.webidl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dom/webidl/Request.webidl') 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; -- cgit v1.2.3