You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the two shared private extensions declared by pinned Home/Bun javascript_core_c_api.zig.
Acceptance:
Export JSObjectCallAsFunctionReturnValueHoldingAPILock with exact C signature, recursive VM API-lock coverage, default-global this, ordered argument conversion, and normal encoded return values.
Convert a thrown call into an encoded exception cell returned to the caller without leaking it into the VM pending-exception slot.
Return empty for null, non-callable, foreign-VM, or otherwise invalid values without publishing partial results.
Export JSObjectGetProxyTarget as a pure trap-free direct target projection; return null for non-proxies, revoked proxies, non-value private handles, and null inputs. As in JSC, dereferencing a handle after its entire context group is destroyed is outside the C API lifetime contract.
Preserve same-VM identity/lifetime and avoid invoking proxy traps.
Add focused engine and compiled Home/Bun consumer evidence in Debug and ReleaseSafe.
Refresh inventories/docs and parent issue evidence.
Parent: #134
Related: #140, #163, #164
Implement the two shared private extensions declared by pinned Home/Bun
javascript_core_c_api.zig.Acceptance:
JSObjectCallAsFunctionReturnValueHoldingAPILockwith exact C signature, recursive VM API-lock coverage, default-globalthis, ordered argument conversion, and normal encoded return values.JSObjectGetProxyTargetas a pure trap-free direct target projection; return null for non-proxies, revoked proxies, non-value private handles, and null inputs. As in JSC, dereferencing a handle after its entire context group is destroyed is outside the C API lifetime contract.