Bug 231628

Summary: [Streams API] Discard auto-allocated BYOB request on enqueue
Product: WebKit Reporter: Mattias Buelens <mattias.buelens>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Mattias Buelens 2021-10-12 15:01:11 PDT
Calling ReadableByteStreamController.enqueue() while there is an auto-allocated BYOB request from ReadableStreamDefaultReader.read() should discard that BYOB request.

Standard change: https://github.com/whatwg/streams/pull/1171
Tests: https://github.com/web-platform-tests/wpt/pull/31128
Comment 1 Radar WebKit Bug Importer 2021-10-19 15:02:16 PDT
<rdar://problem/84434978>