Skip to content

Commit

Permalink
stream: fix enumerability of ReadableStream.prototype.values
Browse files Browse the repository at this point in the history
PR-URL: #50779
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
MattiasBuelens authored and RafaelGSS committed Nov 29, 2023
1 parent 82f0882 commit 4522e22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ ObjectDefineProperties(ReadableStream.prototype, {
pipeThrough: kEnumerableProperty,
pipeTo: kEnumerableProperty,
tee: kEnumerableProperty,
values: kEnumerableProperty,
[SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStream.name),
});

Expand Down
1 change: 0 additions & 1 deletion test/wpt/status/streams.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"idlharness.any.js": {
"fail": {
"expected": [
"ReadableStream interface: async iterable<any>",
"ReadableStream interface: operation from(any)"
]
}
Expand Down

0 comments on commit 4522e22

Please sign in to comment.