Description[proxies] Better print for proxies in d8
Function proxies would not be printed so far since they ended up in Function.prototype.toString which only works with Function as a receiver but no Proxy. Additionally added support for more gracefully dealing with recursive __proto__ structures introduced by proxies.
drive-by-fix: use IS_PROXY if possible in .js files.
BUG=v8:1543
LOG=n
Committed: https://crrev.com/8bfb7189a3472bc9d0820a1bd4534eaaf78ff847
Cr-Commit-Position: refs/heads/master@{#32985}
Committed: https://crrev.com/b7ff2bd5cdfdd22cbfaa510e1c42e70f4ea1d8a3
Cr-Commit-Position: refs/heads/master@{#33010}
Patch Set 1 #Patch Set 2 : adding macro and fixing printing for infinite __proto__ proxies #
Total comments: 1
Patch Set 3 : fixing recursive __proto__ printing #Patch Set 4 : using IS_PROXY everywhere #Patch Set 5 : removing unused helper #Patch Set 6 : merge with master #Patch Set 7 : do not expose intrinsics directly #
Total comments: 1
Messages
Total messages: 43 (20 generated)
|