commit | 01b8e7c7f62fe0fc74552c7d3909777fa50b3447 | [log] [tgz] |
---|---|---|
author | verwaest <verwaest@chromium.org> | Thu Dec 17 14:37:16 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 17 14:37:41 2015 |
tree | b615b8afe50500592c96139a610c7b363fd86e7e | |
parent | 879b21a43a8ed6f8890e787edeb155c8aa435659 [diff] |
Throw 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 Review URL: https://codereview.chromium.org/1529303003 Cr-Commit-Position: refs/heads/master@{#32949}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.