mirror of https://github.com/lukechilds/node.git
Browse Source
These new checks are similar to the one introduced in 089d68861
,
but for other types of objects. Specifically, if an object was
created in a different context, the constructor object will not be
the same as the constructor object in the current context, so we
have to compare constructor names instead.
PR-URL: https://github.com/nodejs/node/pull/3385
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
v5.x
Brian White
9 years ago
committed by
Rod Vagg
2 changed files with 22 additions and 8 deletions
Loading…
Reference in new issue