Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup

Depends on D142436

Differential Revision: https://phabricator.services.mozilla.com/D142437
This commit is contained in:
Eden Chuang
2023-01-18 00:50:20 +00:00
parent c2efe11797
commit 5d56464868
14 changed files with 468 additions and 121 deletions

View File

@@ -193,7 +193,7 @@ InternalRequest::InternalRequest(const IPCInternalRequest& aIPCRequest)
if (!XRE_IsParentProcess()) {
if (body) {
MOZ_ASSERT(body->type() == BodyStreamVariant::TParentToChildStream);
mBodyStream = body->get_ParentToChildStream().stream();
mBodyStream = body->get_ParentToChildStream().get_RemoteLazyInputStream();
}
} else {
if (body) {