commit | baff9fb11ae443bce61dad8bc3208ce2f43d110f | [log] [tgz] |
---|---|---|
author | Nate Chapin <japhet@chromium.org> | Thu Apr 25 23:45:07 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 25 23:45:07 2024 |
tree | 04fb635bf4f77dc92eddae5a5e4a03dae266b9e7 | |
parent | 9064b996534ccc7a1f81b2dd1abeb3e4d6758fa6 [diff] |
Get rid of ScriptPromise::script_state_ It's used for two things: * A comparison in IsAssociatedWith(ScriptState*) - this is only needed for ScriptPromiseProperty, which can store the state on its own. * Then() uses it extensively - but the ScriptFunction inputs have the ScriptState, too. This also changes the ScriptPromise constructor to take a v8::Isolate*, making it look more like ScriptValue. The static Resolve/Reject helpers still need a ScriptState, though. Change-Id: Icc874958744145afb1dcc070f0ab773bcc938614 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5463609 Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1292767}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.