From 4522e229c0b43a1d788ab3ec85c367811cef00a6 Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Sat, 18 Nov 2023 00:20:08 +0100 Subject: [PATCH] stream: fix enumerability of ReadableStream.prototype.values PR-URL: https://github.com/nodejs/node/pull/50779 Reviewed-By: Filip Skokan Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca Reviewed-By: Matteo Collina Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum --- lib/internal/webstreams/readablestream.js | 1 + test/wpt/status/streams.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/webstreams/readablestream.js b/lib/internal/webstreams/readablestream.js index a5f95596e3082a..363cce8ed3d0de 100644 --- a/lib/internal/webstreams/readablestream.js +++ b/lib/internal/webstreams/readablestream.js @@ -636,6 +636,7 @@ ObjectDefineProperties(ReadableStream.prototype, { pipeThrough: kEnumerableProperty, pipeTo: kEnumerableProperty, tee: kEnumerableProperty, + values: kEnumerableProperty, [SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStream.name), }); diff --git a/test/wpt/status/streams.json b/test/wpt/status/streams.json index fb0064a810503b..f2851bed440ab5 100644 --- a/test/wpt/status/streams.json +++ b/test/wpt/status/streams.json @@ -2,7 +2,6 @@ "idlharness.any.js": { "fail": { "expected": [ - "ReadableStream interface: async iterable", "ReadableStream interface: operation from(any)" ] }