• 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
..
OWNERS Loading commit data...
async-hooks-wrapper.cc Loading commit data...
async-hooks-wrapper.h Loading commit data...
cov.cc Loading commit data...
cov.h Loading commit data...
d8-console.cc Loading commit data...
d8-console.h Loading commit data...
d8-js.cc Loading commit data...
d8-platforms.cc Loading commit data...
d8-platforms.h Loading commit data...
d8-posix.cc Loading commit data...
d8-test.cc Loading commit data...
d8-windows.cc Loading commit data...
d8.cc Loading commit data...
d8.h Loading commit data...