Description[proxies] Check for stack overflow in Proxy internal methods
The proxy may be on its own target's or handler's prototype chain, leading
to infinite recursion either when looking up the trap, or when calling
through to the target.
We can't eagerly prevent this from happening (e.g. at "foo.__proto__ = bar"
calling time) because the presence of traps can change at any time.
BUG=v8:1543, chromium:569882
LOG=n
Committed: https://crrev.com/3d8b51e2485b0f104e7b5c60ce5764f1cd4a9f42
Cr-Commit-Position: refs/heads/master@{#32872}
Patch Set 1 #Patch Set 2 : handlers too #
Messages
Total messages: 10 (5 generated)
|