commit | 377358516fe422dacc26614bf94c8ad54e6cbaf2 | [log] [tgz] |
---|---|---|
author | littledan <littledan@chromium.org> | Tue Sep 20 19:33:39 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 20 19:34:35 2016 |
tree | fbe4d4661337bda970b3ed6557f67728524a64e3 | |
parent | 1b414e283a7db4cca54c6d16e7ccb92c01d27cda [diff] |
Make Promise.all/Promise.race catch prediction conditional on DevTools To improve performance, this patch makes Promise.all and Promise.race not perform correct catch prediction when the debugger is not open. The case may come up if Promise.race or Promise.all is called, then DevTools is open, then a component Promise is rejected. In this case, the user would falsely get an exception event even if the "pause on caught exceptions" box is unchecked. There are tests which triggered this case; however, it seems both unlikely and and acceptable to have an event in this case. Many analogous events are already produced when DevTools is enabled during the operation of a program. BUG=v8:3093 Review-Url: https://codereview.chromium.org/2350363002 Cr-Commit-Position: refs/heads/master@{#39565}
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.