[pull] main from oven-sh:main

Merged
PU
5mo ago
+9-6

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? đź’– Please sponsor : )


Summary by cubic

Removes ThrowScope from static property reification/lookup paths to avoid simulated throws, and switches to early-return on real exceptions via vm.exceptionForInspection(). This fixes crashes in callers that don’t expect throws while preserving correct handling of PropertyCallback builder exceptions.

  • Bug Fixes
    • Replace ThrowScope with DeferTerminationForAWhile + vm.exceptionForInspection() in JSObject::reifyAllStaticProperties and setUpStaticFunctionSlot.
    • Prevents false “throwing” behavior and crashes in first static-table lookups and deleteProperty when validateExceptionChecks=1.