[sandbox] Only allow Code in OutsideSandboxOrInReadonlySpace While Code objects currently still live in ReadOnly space until migrated to trusted space, no other trusted objects may reside there. Ensure OutsideSandboxOrInReadonlySpace only considers ReadOnly space valid when the object is actually a Code object. TAG=agy CONV=10a2768c-1c75-4870-b221-4e629f4982e1 Bug: 589023044 Change-Id: I3178324accd20f77254d2dc2b4169fa5f6b3ce50 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8851310 Reviewed-by: Jakob Linke <jgruber@chromium.org> Auto-Submit: Igor Sheludko <ishell@chromium.org> Commit-Queue: Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#112534}
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 Chromium, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
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 at v8.dev/docs/contribute.