1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibWeb: Implement ReadableStreamBYOBReader constructor

This commit is contained in:
Shannon Booth 2023-08-27 12:55:25 +12:00 committed by Andrew Kaster
parent 2418a033d4
commit c279d514e9
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();
};