b41df346db
ShadowRealms have a callable boundary: there cannot be any edges between objects in the ShadowRealm and those from other realms. V8's prepareCallStack API breaks this invariant via getFunction() and getThis(). This CL makes those functions throw when called inside ShadowRealms. See also https://docs.google.com/document/d/1aXEy4YCC9CduxLs7MGw-UOm0P4OuG7W-cScBnLG3ALI/edit?usp=sharing Bug: v8:11989 Change-Id: I5a2b8fa735c0f10583c8cede4062645986b2d914 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4108810 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/main@{#84944} |
||
---|---|---|
.. | ||
bytecode_expectations | ||
bytecode-array-builder-unittest.cc | ||
bytecode-array-iterator-unittest.cc | ||
bytecode-array-random-iterator-unittest.cc | ||
bytecode-array-writer-unittest.cc | ||
bytecode-decoder-unittest.cc | ||
bytecode-expectations-printer.cc | ||
bytecode-expectations-printer.h | ||
bytecode-generator-unittest.cc | ||
bytecode-node-unittest.cc | ||
bytecode-operands-unittest.cc | ||
bytecode-register-allocator-unittest.cc | ||
bytecode-register-optimizer-unittest.cc | ||
bytecode-source-info-unittest.cc | ||
bytecode-utils.h | ||
bytecodes-unittest.cc | ||
constant-array-builder-unittest.cc | ||
generate-bytecode-expectations.cc | ||
interpreter-assembler-unittest.cc | ||
interpreter-assembler-unittest.h | ||
interpreter-intrinsics-unittest.cc | ||
interpreter-tester.cc | ||
interpreter-tester.h | ||
interpreter-unittest.cc | ||
source-position-matcher.cc | ||
source-position-matcher.h | ||
source-positions-unittest.cc |