DescriptionThrow TypeError when reading global references through a JSProxy
Allowing global references to be read through a proxy results in cross-origin information leaks. The ES6 spec currently does not mitigate this in any way. This CL adds a workaround that's easy for V8: throw whenever an unresolved reference would result in a proxy trap to be fired. I'm landing this so we can move forwards with staging proxies without putting users of --harmony at risk.
BUG=chromium:399951
LOG=n
Committed: https://crrev.com/01b8e7c7f62fe0fc74552c7d3909777fa50b3447
Cr-Commit-Position: refs/heads/master@{#32949}
Patch Set 1 #Patch Set 2 : Also add test #
Total comments: 1
Patch Set 3 : Increased testing #
Messages
Total messages: 19 (9 generated)
|