• Camillo Bruni's avatar
    [api] Introduce new HostImportModuleDynamicallyCallback · f0e5e3b2
    Camillo Bruni authored
    The new callback does no longer use ScriptOrModule but rather gets the
    host-defined options and the referrer name as separate arguments.
    
    This brings us one step closer to deprecate ScriptOrModule and putting
    the host-defined options in the script context.
    
    - Add v8::Data::IsFixedArray and cast helpers
    - Deprecate HostImportModuleDynamicallyWithImportAssertionsCallback soon
    - Add Script::Run entry point that explicitly takes host-defined
      options (unused yet)
    
    Bug: chromium:1244145
    Change-Id: I08bc92cfb3b79d840e766fb71b8d91d301f4399c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3263893
    Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77733}
    f0e5e3b2
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...