1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

fix(streams): expose ReadableByteStreamController & TransformStreamDefaultController (#10855)

This commit is contained in:
Leo K 2021-06-05 19:32:05 +02:00 committed by GitHub
parent 083f5c3454
commit b748415baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 14 deletions

View file

@ -3881,5 +3881,7 @@
TransformStream,
WritableStream,
WritableStreamDefaultWriter,
ReadableByteStreamController,
TransformStreamDefaultController,
};
})(this);

View file

@ -289,6 +289,12 @@ delete Object.prototype.__proto__;
WritableStreamDefaultWriter: util.nonEnumerable(
streams.WritableStreamDefaultWriter,
),
ReadableByteStreamController: util.nonEnumerable(
streams.ReadableByteStreamController,
),
TransformStreamDefaultController: util.nonEnumerable(
streams.TransformStreamDefaultController,
),
atob: util.writable(atob),
btoa: util.writable(btoa),
clearInterval: util.writable(timers.clearInterval),

View file

@ -370,18 +370,11 @@
"ReadableStreamDefaultController interface: operation error(optional any)",
"ReadableStreamDefaultController must be primary interface of self.readableStreamDefaultController",
"Stringification of self.readableStreamDefaultController",
"ReadableByteStreamController interface: existence and properties of interface object",
"ReadableByteStreamController interface object length",
"ReadableByteStreamController interface object name",
"ReadableByteStreamController interface: existence and properties of interface prototype object",
"ReadableByteStreamController interface: existence and properties of interface prototype object's \"constructor\" property",
"ReadableByteStreamController interface: existence and properties of interface prototype object's @@unscopables property",
"ReadableByteStreamController interface: attribute byobRequest",
"ReadableByteStreamController interface: attribute desiredSize",
"ReadableByteStreamController interface: operation close()",
"ReadableByteStreamController interface: operation enqueue(ArrayBufferView)",
"ReadableByteStreamController interface: operation error(optional any)",
"ReadableByteStreamController must be primary interface of self.readableByteStreamController",
"Stringification of self.readableByteStreamController",
"ReadableByteStreamController interface: self.readableByteStreamController must inherit property \"byobRequest\" with the proper type",
"ReadableStreamBYOBRequest interface: existence and properties of interface object",
@ -425,17 +418,10 @@
"TransformStream interface: attribute readable",
"TransformStream interface: attribute writable",
"Stringification of new TransformStream()",
"TransformStreamDefaultController interface: existence and properties of interface object",
"TransformStreamDefaultController interface object length",
"TransformStreamDefaultController interface object name",
"TransformStreamDefaultController interface: existence and properties of interface prototype object",
"TransformStreamDefaultController interface: existence and properties of interface prototype object's \"constructor\" property",
"TransformStreamDefaultController interface: existence and properties of interface prototype object's @@unscopables property",
"TransformStreamDefaultController interface: attribute desiredSize",
"TransformStreamDefaultController interface: operation enqueue(optional any)",
"TransformStreamDefaultController interface: operation error(optional any)",
"TransformStreamDefaultController interface: operation terminate()",
"TransformStreamDefaultController must be primary interface of self.transformStreamDefaultController",
"Stringification of self.transformStreamDefaultController",
"ByteLengthQueuingStrategy interface: attribute highWaterMark",
"ByteLengthQueuingStrategy interface: attribute size",