commit | 80b1b2a45bbd9bf3d08e4e6516acfaaa8f438213 | [log] [tgz] |
---|---|---|
author | littledan <littledan@chromium.org> | Tue Mar 15 22:25:05 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 15 22:27:09 2016 |
tree | 29b37fbd3863e13422ba4cf8000f21139cddef94 | |
parent | 4348c3a3dddc39ee48aa8194d5cde042271d2a16 [diff] |
Put RegExp js code in strict mode src/js/regexp.js was one of the few files that was left in sloppy mode. The ES2017 draft specification requires that writes to lastIndex throw when the property is non-writable, and test262 tests enforce this behavior. This patch puts that file in strict mode. BUG=v8:4504 R=yangguo@chromium.org LOG=Y Review URL: https://codereview.chromium.org/1776883005 Cr-Commit-Position: refs/heads/master@{#34801}
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.