commit | 7826bfa7893d3890122399088b927b08432e301c | [log] [tgz] |
---|---|---|
author | littledan <littledan@chromium.org> | Sat Aug 06 00:58:16 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Aug 06 01:00:47 2016 |
tree | 64c664ff74537974886b9af1c75a65e1ce00cb38 | |
parent | 3f936a5b17754783e92d2146eaf66c88a78ee45b [diff] |
[promise] Async/await edge case spec compliance fix - Don't read .constructor when returning a Promise from an async function. Instead, call out to the internals of Promise.resolve directly. This is done by adding back in an "optimization" from an earlier form of the async/await code written by Caitlin Potter. - Async functions always return a new Promise with a distinct identity, even if they simply return another Promise. R=caitp@igalia.com BUG=v8:4483 Review-Url: https://codereview.chromium.org/2219623002 Cr-Commit-Position: refs/heads/master@{#38404}
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.