v8/test
Benedikt Meurer 32f80efe7e [inspector] Improve RemoteObject description for Wasm functions.
The WebAssembly specification requires the "name" property of (exported)
function wrappers to hold the index of the function within the module,
and the default ToString algorithm for Function instances thus generates
something along the lines of `function 42() { [native code] }`, which is
technically correct, but not very useful to developers to diagnose
(humans don't think of functions in a module in terms of their indices).
With this CL, we change the description returned for Wasm (exported)
functions to use the debug name of the Wasm function instead.

Screenshot: https://imgur.com/a/FVPeXDU.png
Doc: http://bit.ly/devtools-wasm-entities
Fixed: chromium:1206620
Bug: chromium:1164241
Change-Id: I096abc287ea077556c13c71f8d71f64452ab4831
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2891570
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74517}
2021-05-12 09:35:17 +00:00
..
benchmarks [build] Fix gn check errors in test/benchmarks/cpp 2021-04-27 10:35:33 +00:00
cctest Revert "[ic] Fix handling of API properties with side effects" 2021-05-12 07:54:08 +00:00
common [wasm][eh] Make stack overflows uncatchable 2021-05-03 16:18:41 +00:00
debugger Adding support for const redeclaration on REPL mode. 2021-05-11 16:47:04 +00:00
debugging [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
fuzzer [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [inspector] Improve RemoteObject description for Wasm functions. 2021-05-12 09:35:17 +00:00
intl Implement proposal-intl-locale-info 2021-05-06 02:05:48 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [wasm] Consider only function names from the name section. 2021-05-05 12:54:27 +00:00
mjsunit [fastcall] Add vector of CFunction overloads to FunctionTemplate 2021-05-10 17:07:20 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 [parser] Allow escaped future reserved keywords as identifiers 2021-05-04 17:58:26 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests [cleanup] Convert some global enums to enum class 2021-05-11 10:47:49 +00:00
wasm-api-tests [wasm-api] Enable trap handler in c-api tests 2021-05-03 19:48:22 +00:00
wasm-js [wasm] Update spec tests 2021-04-14 13:48:55 +00:00
wasm-spec-tests [wasm-simd] Rename no_simd_sse to no_simd_hardware to be generic 2021-04-23 00:25:29 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [no-wasm] Exclude more targets from build 2021-03-09 11:25:54 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00