v8/test
Joyee Cheung 1e6294d3c3 [class] initialize brand after super() in nested arrow function
Handle the case of nested super() by checking if the class scope
contains a private brand. In this case the ContextScope chain
is different from the actual context chain so this added back
the AddPrivateBrand() runtime function but with the additional
step of walking the context chain to get the correct class
context that will be stored as the value of the brand property
for the debugger.

Bug: v8:12354
Change-Id: Ieeb9b9d6372bfbb1a39c4c2dc9e9848e9109f02a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3275137
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/main@{#79032}
2022-02-10 14:05:48 +00:00
..
benchmarks [tests] Skip slow tests on certain configurations 2022-01-31 13:52:22 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest [class] initialize brand after super() in nested arrow function 2022-02-10 14:05:48 +00:00
common [wasm-gc] Remove rtts with depth 2022-01-31 09:55:05 +00:00
debugger Reland "[class] implement reparsing of class instance member initializers" 2022-01-24 16:24:35 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm] Enable Liftoff for fuzzing on arm 2022-02-10 13:26:38 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [class] initialize brand after super() in nested arrow function 2022-02-10 14:05:48 +00:00
intl [infra] Testrunner fixes for Python3 compatibility 2022-02-04 17:58:05 +00:00
js-perf-test [js-perf-test] Properly create packed arrays in Array tests 2022-02-09 07:31:21 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [errors] Enhance the DataView construction error message 2022-02-07 12:02:48 +00:00
mjsunit [class] initialize brand after super() in nested arrow function 2022-02-10 14:05:48 +00:00
mkgrokdump V8 Sandbox rebranding 2021-12-15 17:09:36 +00:00
mozilla [test] Disable slow mozilla tests on Windows 2022-01-20 13:45:29 +00:00
test262 [rab/gsab] RAB / GSAB support for constructing TAs from TAs 2022-02-10 09:38:04 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests Plumb Isolate through HasProperty and friends 2022-02-05 00:39:25 +00:00
wasm-api-tests [wasm] Deserialization should trigger FinishedTopTierCompilation event 2022-01-21 13:21:36 +00:00
wasm-js [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00