Bug 235200
Summary: | [Readable Streams API] Reject pending reads when releasing reader | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mattias Buelens <mattias.buelens> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | mattias.buelens, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mattias Buelens
Previously, calling ReadableStreamDefaultReader.releaseLock() or ReadableStreamBYOBReader.releaseLock() while there are pending read() requests would throw a TypeError.
The specification has been changed to allow this case, and to reject such pending read() requests instead.
Standard change: https://github.com/whatwg/streams/pull/1168
Tests: https://github.com/web-platform-tests/wpt/pull/32072
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mattias Buelens
We just merged this change into the spec, but we accidentally forgot that this also affects default readers. Since default readers are already implemented in multiple engines, our process mandates that we should have first asked whether WebKit is interested in this spec change. Our apologies.
If you have any objections, please let us know in https://github.com/whatwg/streams/pull/1168
Radar WebKit Bug Importer
<rdar://problem/87847830>
Mattias Buelens
This was fixed in https://bugs.webkit.org/show_bug.cgi?id=254511
Feel free to close this bug.