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
BodyExtractor.h
ChannelInfo.cpp
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
FetchObserver.cpp
FetchObserver.h
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
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
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
InternalRequest.cpp Bug 1702417: Test case for bug. r=freddyb,mixedpuppy,necko-reviewers 2021-09-13 18:20:10 +00:00
InternalRequest.h
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
moz.build Bug 1725567 - P2 FetchService interface declaration. r=dom-worker-reviewers,jesup 2022-01-04 14:42:34 +00:00
Request.cpp Bug 1737771 - Implement AbortSignal.reason r=mgaudet,smaug 2021-12-13 21:08:55 +00:00
Request.h
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