Merge BodyStream and InputToReadableStreamAlgorithms
Categories
(Core :: DOM: Streams, enhancement)
Tracking
()
People
(Reporter: jesup, Assigned: saschanaz)
References
(Blocks 2 open bugs)
Details
Attachments
(5 files, 4 obsolete files)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
This is more generic than Bodys (i.e. wider utility than in Fetch alone). I'm going to be using it in WebTransport, for example.
Name can be bikeshedded over...
This will be followed by adding a OutgoingByteStream
Assignee | ||
Comment 1•2 years ago
|
||
Should we move the files to dom/streams
?
Reporter | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
We now have InputToReadableStreamAlgorithms added by bug 1815997.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
So that it can be created without having ReadableStream first. (ReadableStream::Create also requires an algorithm, creating a mutual dependency.)
Depends on D178356
Assignee | ||
Comment 5•2 years ago
|
||
Wraps an nsIInputStream if it's not async, for blobs for example.
Depends on D178357
Assignee | ||
Comment 6•2 years ago
|
||
All existing GetBodyStreamHolder call is consciously done on unread streams, either to simply detect nsIInputStream-based streams or to get the internal nsIInputStream. The function can directly return nsIInputStream to fulfill the existing purposes.
Depends on D178358
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D178359
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Depends on D178359
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D179074
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
So that it can be created without having ReadableStream first. (ReadableStream::Create also requires an algorithm, creating a mutual dependency.)
Depends on D178356
Assignee | ||
Comment 11•2 years ago
|
||
Depends on D178359
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dbeb3860cd2b
https://hg.mozilla.org/mozilla-central/rev/745388791f89
https://hg.mozilla.org/mozilla-central/rev/fb42e76c846c
https://hg.mozilla.org/mozilla-central/rev/19391f5cd47e
https://hg.mozilla.org/mozilla-central/rev/8dc3bd71e12a
Assignee | ||
Comment 14•2 years ago
|
||
Comment on attachment 9335881 [details]
Bug 1811882 - Part 4: Use NonAsyncInputToReadableStreamAlgorithms for FetchBody::GetBody() r=smaug
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: We see some weird behavior that this bug may have fixed.
- User impact if declined: Not clear, for now this is a speculative request.
- Fix Landed on Version: 116
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's been quite stable in beta and requires no manual change to land in ESR.
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Comment on attachment 9334661 [details]
Bug 1811882 - Part 1: Implement NonAsyncInputToReadableStreamAlgorithms r=smaug
Approved for 115.1esr
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 16•2 years ago
|
||
uplift |
Updated•2 years ago
|
Comment 17•2 years ago
|
||
Backed out for causing build bustages in Fetch.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/fetch/Fetch.cpp:1479:28: error: arguments must all be strong refs or caller's parameters when calling a function marked as MOZ_CAN_RUN_SCRIPT (including the implicit object argument). 'DerivedClass()->GetParentObject()' is neither.
Comment 19•2 years ago
|
||
uplift |
Updated•2 years ago
|
Updated•1 years ago
|
Description
•