Skip to content

Commit 95ed4ff

Browse files
MattiasBuelensUlisesGascon
authored andcommitted
stream: fix enumerability of ReadableStream.prototype.values
PR-URL: #50779 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent aa3209b commit 95ed4ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/internal/webstreams/readablestream.js

+1
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ ObjectDefineProperties(ReadableStream.prototype, {
639639
pipeThrough: kEnumerableProperty,
640640
pipeTo: kEnumerableProperty,
641641
tee: kEnumerableProperty,
642+
values: kEnumerableProperty,
642643
[SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStream.name),
643644
});
644645

test/wpt/status/streams.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"idlharness.any.js": {
33
"fail": {
44
"expected": [
5-
"ReadableStream interface: async iterable<any>"
5+
"ReadableStream interface: operation from(any)"
66
]
77
}
88
},

0 commit comments

Comments
 (0)