stream: keep webstreams nil requests in fast mode by mcollina · Pull Request #66230 · nodejs/node · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions benchmark/webstreams/writable-write.js
4 changes: 2 additions & 2 deletions lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ ObjectDefineProperties(ReadableStreamBYOBReader.prototype, {

class ReadableStreamDefaultController {
[kType] = 'ReadableStreamDefaultController';
[kState] = {};
Comment thread
MattiasBuelens marked this conversation as resolved.
[kState];

constructor(skipThrowSymbol = undefined) {
if (skipThrowSymbol !== kSkipThrow) {
Expand Down Expand Up @@ -1203,7 +1203,7 @@ ObjectDefineProperties(ReadableStreamDefaultController.prototype, {

class ReadableByteStreamController {
[kType] = 'ReadableByteStreamController';
[kState] = {};
[kState];

constructor(skipThrowSymbol = undefined) {
if (skipThrowSymbol !== kSkipThrow) {
Expand Down
1 change: 1 addition & 0 deletions lib/internal/webstreams/transformstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ TransferredTransformStream.prototype[kDeserialize] = () => {};

class TransformStreamDefaultController {
[kType] = 'TransformStreamDefaultController';
[kState];

constructor(skipThrowSymbol = undefined) {
if (skipThrowSymbol !== kSkipThrow) {
Expand Down
15 changes: 8 additions & 7 deletions lib/internal/webstreams/writablestream.js
Loading