• Andrey Kosyakov's avatar
    DevTools: add support for injecting bindings by context name · abacd4c1
    Andrey Kosyakov authored
    This adds support for injecting binding into contexts other than
    main based on the context name (AKA isolated world name in Blink
    terms). This would simplify a common use case for addBinding in
    Puppeteer and other automation tools that use addBinding to expose
    a back-channel for extension code running in an isolated world by
    making bindings available to such code at an early stage and in a
    race-free manner (currently, we can only inject a binding into
    specific context after the creation of the context has been reported
    to the client, which typically introduces a race with other evals
    the client may be running in the context).
    
    Change-Id: I66454954491a47a0c9aa4864f0aace4da2e67d3a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2440984Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarPavel Feldman <pfeldman@chromium.org>
    Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70266}
    abacd4c1
Name
Last commit
Last update
..
cppgc Loading commit data...
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
js_protocol-1.2.json Loading commit data...
js_protocol-1.3.json Loading commit data...
js_protocol.pdl Loading commit data...
v8-cppgc.h Loading commit data...
v8-fast-api-calls.h Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-metrics.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8-wasm-trap-handler-posix.h Loading commit data...
v8-wasm-trap-handler-win.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...