gecko-dev/dom/fetch
Kagami Sascha Rosylight 2f3b882374 Bug 1865728 - Reverse the check order in Fetch::SetBodyUsed r=smaug
nsIInputStream can exist and then may later go away when the stream becomes unreadable (closed/errored). Since FetchStreamReader is created only when nsIInputStream initially did not exist, the current assertion may fail.

This patch now goes LockStream way if FetchStreamReader doesn't exist, regardless of whether nsIInputStream exists or not.

Differential Revision: https://phabricator.services.mozilla.com/D194413
2023-12-01 12:37:03 +00:00
..
tests Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
BodyExtractor.cpp Bug 1690111 - Use new TypedArray APIs for creating a container with a copy of the data. r=necko-reviewers,farre,kershaw 2023-09-20 09:42:02 +00:00
BodyExtractor.h
ChannelInfo.cpp
ChannelInfo.h
Fetch.cpp Bug 1865728 - Reverse the check order in Fetch::SetBodyUsed r=smaug 2023-12-01 12:37:03 +00:00
Fetch.h Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
FetchChild.cpp Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu 2023-10-10 08:51:12 +00:00
FetchChild.h Bug 1819570 - P4 Propagte stack trace notification back to the content process for PFetch. r=asuth 2023-05-05 15:24:10 +00:00
FetchDriver.cpp Bug 1810805 - update mObserver modifications in FetchDriver. r=necko-reviewers,edenchuang 2023-11-27 10:31:54 +00:00
FetchDriver.h Bug 1810805 - update mObserver modifications in FetchDriver. r=necko-reviewers,edenchuang 2023-11-27 10:31:54 +00:00
FetchIPCTypes.h
FetchLog.h
FetchObserver.cpp
FetchObserver.h
FetchParent.cpp Bug 1819570 - P4 Propagte stack trace notification back to the content process for PFetch. r=asuth 2023-05-05 15:24:10 +00:00
FetchParent.h Bug 1819570 - P4 Propagte stack trace notification back to the content process for PFetch. r=asuth 2023-05-05 15:24:10 +00:00
FetchService.cpp Bug 1845317 - Propagate error response to Worker for PFetch before FetchDriver is created. r=dom-worker-reviewers,smaug 2023-08-30 08:41:21 +00:00
FetchService.h Bug 1845317 - Propagate error response to Worker for PFetch before FetchDriver is created. r=dom-worker-reviewers,smaug 2023-08-30 08:41:21 +00:00
FetchStreamReader.cpp Bug 1866078 - Add InputToReadableStreamAlgorithms::MaybeGetInputStreamIfUnread r=smaug 2023-11-27 14:34:00 +00:00
FetchStreamReader.h Bug 1865640 - Part 2: Grab StrongWorkerRef in StartConsuming instead of Create r=smaug 2023-11-23 11:34:25 +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 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8 2023-03-20 15:40:37 +00:00
FetchUtil.cpp Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu 2023-10-10 08:51:12 +00:00
FetchUtil.h
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 1842005 - Remove InternalHeaders::IsSimpleHeader in favor of using the similar nsContentUtils::IsCORSSafelistedRequestHeader; r=kershaw 2023-08-01 20:36:04 +00:00
InternalHeaders.h Bug 1842005 - Remove InternalHeaders::IsSimpleHeader in favor of using the similar nsContentUtils::IsCORSSafelistedRequestHeader; r=kershaw 2023-08-01 20:36:04 +00:00
InternalRequest.cpp Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup 2023-03-31 03:54:20 +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 1690111 - Improve nsIRandomGenerator APIs. r=mccr8,necko-reviewers,kershaw 2023-09-20 09:41:58 +00:00
InternalResponse.h Bug 1833795 - Handle the case that InternalResponse.body/alternativeBody serialization fail. r=dom-worker-reviewers,smaug 2023-05-31 23:14:11 +00:00
PFetch.ipdl Bug 1819570 - P4 Propagte stack trace notification back to the content process for PFetch. r=asuth 2023-05-05 15:24:10 +00:00
Request.cpp Bug 1832326 - Part 2: Remove FetchBody::mReadableStreamReader r=smaug 2023-05-16 00:08:01 +00:00
Request.h
Response.cpp Bug 1842488 - do not add an empty-string content-type header when constructing a Response with a ReadableStream; r=kershaw 2023-07-11 19:36:24 +00:00
Response.h Bug 1758943 - Implement Response.json static method; r=smaug 2023-05-08 14:40:55 +00:00
moz.build Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00