gecko-dev/dom/fetch
Eden Chuang e2e06c6804 Bug 1819496 - Making FetchParent::mResponsePromises be only accessed on the main thread. r=asuth
FetchParent::mResponsePromises should only be accessed/assigned on the main thread.

This patch makes the ResponseEndPromsie callbacks run on the main thread.

https://searchfox.org/mozilla-central/rev/3002762e41363de8ee9ca80196d55e79651bcb6b/dom/fetch/FetchParent.cpp#178-191

Such that there would not be a race on FetchParent::mResponsePromises.

Differential Revision: https://phabricator.services.mozilla.com/D171848
2023-03-08 04:57:10 +00:00
..
tests Bug 1792229 - Make Origin-Trial COEP:Credentialless works on process selection r=emilio,necko-reviewers,valentin 2022-10-17 15:20:51 +00:00
BodyExtractor.cpp
BodyExtractor.h
ChannelInfo.cpp Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish 2022-09-20 03:58:49 +00:00
ChannelInfo.h Bug 1789494 - use the concrete type nsITransportSecurityInfo instead of IPCChannelInfo r=mccr8 2022-09-09 22:14:18 +00:00
Fetch.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Fetch.h Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
FetchChild.cpp Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchChild.h Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchDriver.cpp Bug 1817980 - replace ReferrerInfo::IsCrossOriginRequest with nsScriptSecurityManager::CheckSameOriginURI for determining cross-origin redirects. r=necko-reviewers,valentin 2023-02-28 12:06:36 +00:00
FetchDriver.h Bug 1810816 - P2 Add new interface OnReportPerformanceTiming on FetchDriverObserver. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchIPCTypes.h Bug 1765777 - Resolve FetchEvent.preloadResponse when the response is available not the response end. r=dom-worker-reviewers,jesup. 2022-05-11 19:40:47 +00:00
FetchLog.h
FetchObserver.cpp
FetchObserver.h
FetchParent.cpp Bug 1819496 - Making FetchParent::mResponsePromises be only accessed on the main thread. r=asuth 2023-03-08 04:57:10 +00:00
FetchParent.h Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchService.cpp Bug 1810816 - P4 Report the preload response timing for ServiceWorker NavigationPreload. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchService.h Bug 1810816 - P4 Report the preload response timing for ServiceWorker NavigationPreload. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchStreamReader.cpp Bug 1810759 - Replace ReadableStream internal algorithm uses in Fetch r=evilpie 2023-01-24 14:52:03 +00:00
FetchStreamReader.h Bug 1770630 - Worker stream readers should contribute to busy count. r=dom-worker-reviewers,jstutte 2022-08-03 00:36:01 +00:00
FetchStreamUtils.cpp Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
FetchStreamUtils.h Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
FetchTypes.ipdlh Bug 1810816 - P1 Remove ResponseTiming from ResponseEndArgs. r=dom-worker-reviewers,asuth 2023-02-23 02:52:53 +00:00
FetchUtil.cpp Backed out 4 changesets (bug 1697421) for e.g. breaking Tampermonkey userscripts (bug 1798149). CLOSED TREE 2022-11-03 17:15:23 +02:00
FetchUtil.h Bug 1790311 - update handling of request headers in Fetch/XHR. r=necko-reviewers,valentin 2022-10-24 09:17:22 +00:00
Headers.cpp
Headers.h Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalHeaders.cpp Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalHeaders.h Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalRequest.cpp Bug 1819742 - Directly set up stream according to the IPC stream type in InternalRequest. r=dom-worker-reviewers,smaug 2023-03-02 17:44:45 +00:00
InternalRequest.h Bug 1351231 - Support conversation between InternalRequest and IPCInternalRequest. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
InternalResponse.cpp Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
InternalResponse.h Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
moz.build Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
PFetch.ipdl Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
Request.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Request.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
Response.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Response.h