[import-attributes] Rename "assertions" to "attributes" in internal code This patch renames import occurrences of import assertions in internal code. Regardless of what will happen to the old keyword, these "parameters" are now called assertions and using the new name will make it easier for who in a few years will read the code without being aware of the history of the proposal. Variables representing the second parameter of a dynamic import call have been renamed to "import options" rather than "import attributes", since the attributes are the `with`/`assert` property of that object. This patch still leaves the old name in public code: - V8 API: - `ModuleRequest::GetImportAssertions` - `HostImportModuleDynamicallyWithImportAssertionsCallback` - Error messages Bug: v8:13856 Change-Id: Ia2ea13adbfdb65c0a724ef0eab38d1057440e6c2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5191569 Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Nicolò Ribaudo <nribaudo@igalia.com> Cr-Commit-Position: refs/heads/main@{#92034}
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://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.