v8/test
Joyee Cheung 31a951d875 [class] implement access of private methods
This patch implements the access of private methods:

- When building property loads, check whether it requires
  a brand check. If so, build the brand check and load the
  property (the method) from the context instead.
- Throw type errors when there is an attempted write to private
  methods.

Design: https://docs.google.com/document/d/1T-Ql6HOIH2U_8YjWkwK2rTfywwb7b3Qe8d3jkz72KwA/edit#

Bug: v8:8330
Change-Id: Ic917d2a0030196c1940b0c0ba65a340af736c769
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1610383
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62292}
2019-06-19 15:38:21 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [class] implement access of private methods 2019-06-19 15:38:21 +00:00
common [turbofan] JSHeapBroker logging respects --trace-turbo-filter 2019-06-12 11:02:38 +00:00
debugger [cleanup] Add %PrepareFunctionForOptimize for tests that use %OptimizeOsr 2019-06-18 16:47:29 +00:00
fuzzer [regexp] Further narrow public API and restrict includes to regexp.h 2019-06-18 12:23:16 +00:00
inspector Fix inspector preview for detached JSTypedArray 2019-06-18 20:26:48 +00:00
intl [Intl] Fix RegExp [\W] with i flag 2019-06-12 06:18:08 +00:00
js-perf-test add micro-benchmark for proxy trap getPrototypeOf 2019-06-17 18:16:11 +00:00
memory Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
message [class] implement access of private methods 2019-06-19 15:38:21 +00:00
mjsunit [class] implement access of private methods 2019-06-19 15:38:21 +00:00
mkgrokdump [cleanup][heap] Improve heap iterator naming 2019-06-17 14:38:02 +00:00
mozilla Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Roll test262 2019-06-14 00:56:50 +00:00
torque [torque] Address remaining usages of @noVerifier in base.tq 2019-06-18 22:44:58 +00:00
unittests [torque] Address remaining usages of @noVerifier in base.tq 2019-06-18 22:44:58 +00:00
wasm-api-tests [wasm-c-api] Fix signature deserialization 2019-06-14 09:03:47 +00:00
wasm-js Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit Add quotes around unexpected token SyntaxError 2019-06-11 06:11:58 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS [owners] Make test/ owned by COMMON_OWNERS 2019-06-06 20:56:09 +00:00