-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
(ArrayBufferView or undefined)
for ReadableStreamBYOBReadResult
The standard returns an ReadableStreamBYOBReadResult with an undefined value, and the tests rely on this, but it wasn't permitted by the IDL. Fix the IDL to match the actual behaviour. Closes whatwg/webidl#1094.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-implementation/lib/ReadableStreamBYOBReadResult.webidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dictionary ReadableStreamBYOBReadResult { | ||
ArrayBufferView value; | ||
(ArrayBufferView or undefined) value; | ||
boolean done; | ||
}; |