• Benedikt Meurer's avatar
    [wasm] Use WebAssembly.Memory objects in the scope chain. · 058299a8
    Benedikt Meurer authored
    Previously V8 would wrap the WebAssembly.Memory backing stores into
    Uint8Arrays and report that as memories, but that's confusing to the
    developer, since that's not what's really being used. The way that
    DevTools presents the backing stores of memories, it's still perfectly
    possible to get hold of an Uint8Array if that's what the developer is
    looking for.
    
    To make it possible to easily identify the WebAssembly.Memory objects
    in the DevTools front-end (in particular for the memory inspector) we
    add a 'webassemblymemory' subtype to the Chrome DevTools Protocol. We
    also improve the description for the memories to include the number
    of active pages.
    
    Fixed: chromium:1155566
    Screenshot: https://imgur.com/8enx57u.png
    Change-Id: I63dbabe0e372e9ad6dcc8e6642cdb743147a620c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2574699Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71641}
    058299a8
Name
Last commit
Last update
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni 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...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes 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...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...