1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 07:05:06 +00:00
serenity/Userland/Libraries/LibWeb/Streams/ReadableStreamBYOBRequest.idl
Shannon Booth feb7fbb95d LibWeb: Implement ReadableStreamBYOBRequest.respond
The parameter in IDL is left as an unsigned long instead of an unsigned
long long as the IDL generator does not currently support that.
2023-12-03 20:26:14 +01:00

9 lines
337 B
Text

// https://streams.spec.whatwg.org/#readablestreambyobrequest
[Exposed=*]
interface ReadableStreamBYOBRequest {
readonly attribute ArrayBufferView? view;
// FIXME: Should be unsigned long long
undefined respond([EnforceRange] unsigned long bytesWritten);
// FIXME: undefined respondWithNewView(ArrayBufferView view);
};