Add Reader Type assertions to ReadableStream reader-specific functions
Following a recent addition to the Streams spec in https://github.com/whatwg/streams/pull/1095, this CL adds reader type assertions to the beginning of several ReadableStream abstract operations that are only called with one particular type of reader. This includes: - ReadableStreamFulfillReadIntoRequest - ReadableStreamFulfillReadRequest - ReadableStreamGetNumReadIntoRequests - ReadableStreamGetNumReadRequests Bug: 614302 Change-Id: I1da9105f0ba6c7e494945befb6859fc3242f67df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576661Reviewed-by:Adam Rice <ricea@chromium.org> Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Cr-Commit-Position: refs/heads/master@{#834130}
Showing
Please register or sign in to comment