mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
stream: fix enumerability of ReadableStream.from
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
523073f065
commit
e73d91bd48
2 files changed
+3
-7
No files matched your search
@@ -642,6 +642,9 @@ ObjectDefineProperties(ReadableStream.prototype, {
|
||||
values: kEnumerableProperty,
|
||||
[SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStream.name),
|
||||
});
|
||||
ObjectDefineProperties(ReadableStream, {
|
||||
from: kEnumerableProperty,
|
||||
});
|
||||
|
||||
function TransferredReadableStream() {
|
||||
return makeTransferable(ReflectConstruct(
|
||||
|
||||
@@ -1,11 +1,4 @@
|
||||
{
|
||||
"idlharness.any.js": {
|
||||
"fail": {
|
||||
"expected": [
|
||||
"ReadableStream interface: operation from(any)"
|
||||
]
|
||||
}
|
||||
},
|
||||
"idlharness-shadowrealm.window.js": {
|
||||
"skip": "ShadowRealm support is not enabled"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user