v8/test
legendecas 112e924dea [runtime] Prevent performing GetOwnPropertyDescriptor on excluded keys
Excluded keys should not be performed with GetOwnPropertyDescriptor on
source object in CopyDataProperties.

The key values fetch in CopyDataProperties might be arbitrary kind. It
may be smi, string, and symbol. Yet the proxy keys collected by
KeyAccumulator are not expected types for numeric keys. Those keys
should be converted to expected types.

Also updates a typo in comments of
BytecodeGenerator::BuildDestructuringObjectAssignment. The elements in
rest_runtime_callargs should be [value, ...excluded_properties].

Refs: https://tc39.es/ecma262/#sec-copydataproperties
Bug: v8:11532
Change-Id: If71bfedf8272ce8405e8566a016fae66b3007dd9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3060275
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#76171}
2021-08-09 14:27:41 +00:00
..
benchmarks [test] Mark pdfjs as slow for TSAN builds 2021-07-28 14:03:46 +00:00
bigint [bigint] Define V8_ADVANCED_BIGINT_ALGORITHMS everywhere 2021-07-27 15:17:34 +00:00
cctest [codegen] Use StrictEquals for host defined options code cache checks 2021-08-09 14:15:01 +00:00
common [wasm][eh] Add WebAssembly.Exception.getArg() 2021-08-03 14:25:50 +00:00
debugger [sparkplug] Add support to flush only baseline code 2021-08-04 08:22:18 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [fuzzer][wasm] Add support for reftypes in test generator 2021-08-06 14:22:35 +00:00
fuzzilli
inspector [baseline] Update EstimateInstructionSize 2021-08-06 17:40:26 +00:00
intl [Intl] throw instead of DCHECK while long locale 2021-08-03 07:33:29 +00:00
js-perf-test A jump-table implementation for constant case switch statements 2021-06-23 09:26:23 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [wasm] Print hash of anonymous scripts in stack traces 2021-08-06 17:14:55 +00:00
mjsunit [runtime] Prevent performing GetOwnPropertyDescriptor on excluded keys 2021-08-09 14:27:41 +00:00
mkgrokdump
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [runtime] Prevent performing GetOwnPropertyDescriptor on excluded keys 2021-08-09 14:27:41 +00:00
torque
unittests [api] Add API for off-thread code cache deserialization 2021-08-09 08:55:41 +00:00
wasm-api-tests [wasm] Make --wasm-trap-handler a d8-only flag 2021-06-30 09:32:55 +00:00
wasm-js [wasm] Update wasm spec tests 2021-07-08 12:46:48 +00:00
wasm-spec-tests [riscv64][wasm] Implement wasm function 2021-07-13 00:08:25 +00:00
webkit Revert "Reland "[build] Add V8-specific dcheck_always_on"" 2021-07-27 11:14:57 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS