gecko-dev/dom/fetch
Eden Chuang 7245366e6f Bug 1725567 - P2 FetchService interface declaration. r=dom-worker-reviewers,jesup
This patch defines the interface of FetchService for its consumers.

RefPtr<FetchServiceResponsePromise>&& FetchService::Fetch(SafeRefPtr<InternalRequest> aRequest);

FetchService is a singleton object in the parent process main thread, which is used for managing all the requested fetching created by FetchService.
It would also support more control capability, such as abort or cancel, and also observers for shutdown or other cases. These would be implemented in the following patches.

FetchInstance is an internal representation for each fetching.

Depends on D128465

Differential Revision: https://phabricator.services.mozilla.com/D128223
2022-01-04 14:42:34 +00:00
..
tests Bug 1732052: Remove pref privacy.file_unique_origin r=ckerschb,necko-reviewers,dragana 2021-10-19 12:57:34 +00:00
BodyExtractor.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
BodyExtractor.h Bug 1678374 - Avoid including jsapi.h from header files. r=jandem 2020-11-23 16:12:34 +00:00
ChannelInfo.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ChannelInfo.h
ChannelInfo.ipdlh
Fetch.cpp Backed out 9 changesets (bug 1744025) for causing wpt failures on CheckedUnsafePtr.h CLOSED TREE 2021-12-15 18:46:01 +02:00
Fetch.h Backed out 9 changesets (bug 1744025) for causing wpt failures on CheckedUnsafePtr.h CLOSED TREE 2021-12-15 18:46:01 +02:00
FetchDriver.cpp Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
FetchDriver.h Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
FetchIPCTypes.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
FetchObserver.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
FetchObserver.h Bug 1660555 - Split AbortFollower::Abort into AbortFollower::RunAbortAlgorithm and AbortSignalImpl::SignalAbort functions for readability. r=smaug 2020-10-22 07:42:18 +00:00
FetchService.cpp Bug 1725567 - P2 FetchService interface declaration. r=dom-worker-reviewers,jesup 2022-01-04 14:42:34 +00:00
FetchService.h Bug 1725567 - P2 FetchService interface declaration. r=dom-worker-reviewers,jesup 2022-01-04 14:42:34 +00:00
FetchStreamReader.cpp Bug 1650940: Only assert FetchStreamReader members in OnOutputStreamReady if we are not closed. r=smaug 2021-12-20 18:10:09 +00:00
FetchStreamReader.h Bug 1678374 - Avoid including jsapi.h from header files. r=jandem 2020-11-23 16:12:34 +00:00
FetchStreamUtils.cpp Backed out changeset 1778ca2ab291 (bug 1744425) for bc failures on browser_xpcom_graph_wait.js. CLOSED TREE 2021-12-08 07:20:54 +02:00
FetchStreamUtils.h Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
FetchTypes.ipdlh Bug 1741493 - Split IPCInternalResponse r=nika 2021-11-19 16:45:19 +00:00
FetchUtil.cpp Bug 1738987 - Ignore altdata stream errors on shutdown. r=valentin 2021-11-30 22:01:56 +00:00
FetchUtil.h Bug 1487113 - Use alt-data to cache stream-compiled WebAssembly modules. r=necko-reviewers,valentin,dragana 2021-10-15 21:13:44 +00:00
Headers.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
Headers.h
InternalHeaders.cpp Bug 1460299 - Add content-length as a CORS-safelisted response header. r=valentin,baku 2021-02-15 12:51:33 +00:00
InternalHeaders.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
InternalRequest.cpp Bug 1702417: Test case for bug. r=freddyb,mixedpuppy,necko-reviewers 2021-09-13 18:20:10 +00:00
InternalRequest.h Bug 1687587 - Cleanup a bit Link.h. r=smaug 2021-01-20 09:24:10 +00:00
InternalResponse.cpp Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
InternalResponse.h Bug 1577346 - Convert between stream types for preload response r=dom-worker-reviewers,edenchuang 2021-11-22 14:09:24 +00:00
Request.cpp Bug 1737771 - Implement AbortSignal.reason r=mgaudet,smaug 2021-12-13 21:08:55 +00:00
Request.h Bug 1682103 - Make nsContentPolicyType a CEnum type. r=ckerschb 2020-12-16 11:36:47 +00:00
Response.cpp Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
Response.h Bug 1577346 - P3 Make InternalResponse be SafeRefcounted. r=dom-worker-reviewers,ytausky 2021-11-08 13:29:32 +00:00
moz.build Bug 1725567 - P2 FetchService interface declaration. r=dom-worker-reviewers,jesup 2022-01-04 14:42:34 +00:00