Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information