Implement WritableStream
Categories
(Core :: DOM: Streams, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox97 | --- | fixed |
People
(Reporter: evilpies, Assigned: evilpies)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
| Assignee | ||
Comment 1•5 years ago
|
||
This implements many of the basic algorithms required to get WritableStreams working.
Most notably everything related to abort is missing.
| Assignee | ||
Comment 2•5 years ago
|
||
I got errors about this thing missing after adding some partial interface without Worklet.
| Assignee | ||
Comment 3•5 years ago
|
||
The implementation is now complete. We are passing all WPT stream/writable-stream tests except something related to the unimplemented ByteLengthQueuingStrategy. I probably still need some time to get this buildable without unified builds though.
I am also surprised that WritableStreamDefaultController seem to work without null-checking GetController following the specification to the letter, considering that releaseLock can actually unset mStream. I need to convince myself that is correct. (Especially SinkCloseNativePromiseHandler)
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 5•5 years ago
|
||
I am also surprised that WritableStreamDefaultController seem to work without null-checking
GetStream(notGetController) following the specification to the letter, considering that releaseLock can actually unset mStream. I need to convince myself that is correct. (Especially SinkCloseNativePromiseHandler)
I confused myself a little bit here. The DefaultController has a strong reference to the stream that can never be unset. I actually changed the code now to make this less likely. releaseLock is only relevant to the stream in DefaultWriter ..
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
| bugherder | ||
Comment 9•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•