commit | 8494c583ca1daf1208d272db038c1cee727548a8 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <jbroman@chromium.org> | Thu Dec 13 23:43:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 16:41:52 2018 |
tree | 5e84f44fc402886350b05b71e53e6c15af6d9d68 | |
parent | 22ef8971c95040ec12d30897ef6c91106522098c [diff] |
ValueSerializer: Report if buffer expansion fails during WriteHostObject. Also fail early if we detect that we've previously run out of memory and thus corrupted the buffer. Add a unit test for this kind of case. Bug: chromium:914731 Change-Id: Iaaf3927209bffeab6fe8ba462d9dd9dad8cbbe2f Reviewed-on: https://chromium-review.googlesource.com/c/1377449 Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#58248}
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.