LibWeb: Implement ReadableStreamBYOBReader constructor

This commit is contained in:
Shannon Booth 2023-08-27 12:55:25 +12:00 committed by Andrew Kaster
commit c279d514e9
Notes: sideshowbarker 2024-07-17 01:51:00 +09:00
3 changed files with 20 additions and 2 deletions

View file

@ -1,10 +1,12 @@
#import <Streams/ReadableStream.idl>
#import <Streams/ReadableStreamGenericReader.idl>
// https://streams.spec.whatwg.org/#readablestreambyobreader
[Exposed=*]
interface ReadableStreamBYOBReader {
// FIXME: Implement
// constructor(ReadableStream stream);
constructor(ReadableStream stream);
// FIXME: Implement
// Promise<ReadableStreamReadResult> read(ArrayBufferView view);
// undefined releaseLock();
};