• Marja Hölttä's avatar
    [web snapshots] Fix error reporting · f6c15e1f
    Marja Hölttä authored
    We have 4 different cases:
    1) Explicit web snapshots (--web-snapshot) & errors in the snapshot
    2) Explicit web snapshots & errors in the embedded script
    3) Auto-detected web snapshots (--experimental-web-snapshots) & errors
    in the snapshot
    4) Auto-detected web snapshots & errors in the embedded script
    
    Before this CL: cases 2 & 4 resulted in a DCHECK failing and the error
    in case 3 wasn't reported correctly.
    
    This CL implements consistent error reporting for all of them.
    
    Bug: v8:11525
    Change-Id: If2e5039d9769b9cad2175dfd5c4f91edf61111ae
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3277877Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77963}
    f6c15e1f
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...