• Thibaud Michaud's avatar
    [wasm] Trap on invalid suspender object · 704c571d
    Thibaud Michaud authored
    Trap if the suspender argument provided to the JSPI import
    wrapper is invalid.
    
    For now, the suspender argument is expected to be the active
    suspender. In the future, it will also be possible to suspend
    to a parent of the current suspender. This will only be possible
    once wasm-to-wasm suspending wrappers are supported, or if and
    when JSPI suspenders become compatible with their core
    stack-switching counterpart (e.g. Fibers in the fiber proposal).
    
    R=jkummerow@chromium.org
    
    Bug: v8:12191
    Change-Id: I650454ed076bd251b0aa18656774d4c4b2d3bfdc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3892697Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#83173}
    704c571d
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
assert-scope.cc Loading commit data...
assert-scope.h Loading commit data...
checks.h Loading commit data...
code-memory-access-inl.h Loading commit data...
code-memory-access.cc Loading commit data...
code-memory-access.h Loading commit data...
globals.h Loading commit data...
high-allocation-throughput-scope.h Loading commit data...
message-template.h Loading commit data...
operation.h Loading commit data...
ptr-compr-inl.h Loading commit data...
ptr-compr.h Loading commit data...