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 UlisesGascon committed Jan 9, 2024
1 parent aa3209b commit 95ed4ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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 @@ -639,6 +639,7 @@ ObjectDefineProperties(ReadableStream.prototype, {
pipeThrough: kEnumerableProperty,
pipeTo: kEnumerableProperty,
tee: kEnumerableProperty,
values: kEnumerableProperty,
[SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStream.name),
});

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

0 comments on commit 95ed4ff

Please sign in to comment.