commit | 76da493315bcd0fdf6b2bbecc462d8546e6a4cc0 | [log] [tgz] |
---|---|---|
author | littledan <littledan@chromium.org> | Wed Sep 30 23:48:26 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 30 23:48:34 2015 |
tree | 5152048bba5437c9e23ca07c6a0fd4ee59cb122f | |
parent | 6fb3708d68aa0a5c98bf026b099e068256800f64 [diff] |
Extend Annex B 3.3 sloppy-mode block-scoped hoisting to scripts, eval The ES2015 spec is missing an extension of sloppy-mode block-scoped function behavior to the global scope in scripts, as well as to eval. This patch brings that hoisting to those two areas. The behavior is not perfectly spec-compliant since properties created on the global scope should be set as enumerable even if they are non-enumerable previously, but the attributes will not be modified if the property already exists under this patch. BUG=v8:4441 LOG=Y R=adamk TEST=reddit comment functionality seems to be fixed Review URL: https://codereview.chromium.org/1376623002 Cr-Commit-Position: refs/heads/master@{#31037}
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://code.google.com/p/v8/
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.