• Andreas Haas's avatar
    [wasm] Abort AsyncCompileJobs when a Chrome tab refreshes · 9f7fb728
    Andreas Haas authored
    When a tab in Chrome gets refreshed, the refreshed page reuses the
    isolate of the original page. This means that at the moment,
    AsyncCompileJobs which were stared on the original page do not get
    aborted and will therefore eventually finish and resolve their promise.
    With this CL I abort all running AsyncCompileJobs when V8 gets the tab
    refresh signal, i.e. Isolate::ContextDisposedNotification. Note that I
    cannot just call CompilationManager::TearDown because it assumes that
    there are no pending tasks anymore.
    
    R=clemensh@chromium.org, hpayer@chromium.org
    
    Bug: chromium:803476
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I88d28fdaba6f55b7aa7379c4b5338ae62134fc8a
    Reviewed-on: https://chromium-review.googlesource.com/875923
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50765}
    9f7fb728
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...