summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2021-11-03 10:47:40 +0100
committerGitHub <noreply@github.com>2021-11-03 10:47:40 +0100
commit95b2955712b0daae3c8e8f7bb0eccf341b5c8fa3 (patch)
tree42dda897e499393fe6b19799b00f840eaf723c43 /runtime/js/99_main.js
parent8e31bbbe551e95a40a78fd96671916f917218b93 (diff)
feat(ext/web): BYOB support for ReadableStream (#12616)
This commit introduces support for BYOB readers in the WHATWG Streams API implementation.
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index a895b0c57..5a2d2bc3f 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -411,6 +411,12 @@ delete Object.prototype.__proto__;
ReadableByteStreamController: util.nonEnumerable(
streams.ReadableByteStreamController,
),
+ ReadableStreamBYOBReader: util.nonEnumerable(
+ streams.ReadableStreamBYOBReader,
+ ),
+ ReadableStreamBYOBRequest: util.nonEnumerable(
+ streams.ReadableStreamBYOBRequest,
+ ),
ReadableStreamDefaultController: util.nonEnumerable(
streams.ReadableStreamDefaultController,
),