• 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
..
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...