diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-12 00:15:10 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-01-18 08:03:25 +0100 |
commit | 2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f (patch) | |
tree | 58b5f79ec97025d0935907794e0219fb29d8d399 /src/node_report.cc | |
parent | 27f9a55cf66390195ad36eae0eb21fb4d07bb500 (diff) | |
download | android-node-v8-2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f.tar.gz android-node-v8-2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f.tar.bz2 android-node-v8-2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f.zip |
util: fix iterable types with special prototype
The fallback should only be taken for a null prototype. If an
iterable data type (e.g., Array) has a prototype without
`Symbol.iterator`, just try the best to visualize it as object.
PR-URL: https://github.com/nodejs/node/pull/25457
Fixes: https://github.com/nodejs/node/issues/25451
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_report.cc')
0 files changed, 0 insertions, 0 deletions