diff options
author | Evan Lucas <evanlucas@me.com> | 2015-09-29 14:30:22 -0500 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2015-10-05 20:24:08 -0500 |
commit | 88533881dd296236a44ad36aa7afb8336298540f (patch) | |
tree | 781f8a0c3dcb24a6f9794129e78a6bdddb3efdc4 /node.gyp | |
parent | 089d6886178864b56fdd5dc2bcfc8f207aa4326c (diff) | |
download | node-new-88533881dd296236a44ad36aa7afb8336298540f.tar.gz |
util: correctly inspect Map/Set Iterators
Previously, a MapIterator or SetIterator would
not be inspected properly. This change makes it possible
to inspect them by creating a Debug Mirror and previewing
the iterators to not consume the actual iterator that
we are trying to inspect.
This change also adds a node_util binding that uses
v8's Value::IsSetIterator and Value::IsMapIterator
to verify that the values passed in are actual iterators.
Fixes: https://github.com/nodejs/node/issues/3107
PR-URL: https://github.com/nodejs/node/pull/3119
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -115,6 +115,7 @@ 'src/node_javascript.cc', 'src/node_main.cc', 'src/node_os.cc', + 'src/node_util.cc', 'src/node_v8.cc', 'src/node_stat_watcher.cc', 'src/node_watchdog.cc', |