Parent: #134
Related: #140, #163, #164
Implement the pinned Bun__promises__isErrorLike private-ABI boundary used to classify unhandled rejection reasons.
Acceptance
- Return true only for JavaScript objects carrying an own
stack property, whether data or accessor; inherited-only properties and primitives return false.
- Match
Object.prototype.hasOwnProperty observability for proxies: run [[GetOwnProperty]] exactly once, honor its invariants, and publish thrown/revoked-proxy failures through the VM pending-exception boundary.
- Do not invoke an own accessor getter merely to detect its descriptor.
- Accept values from sibling globals in the same VM, reject foreign-VM handles deterministically, and preserve an already-pending exception as first-wins state.
- Add focused normal, no-GIL, and leak verification plus the pinned consumer compile/link/runtime fixture.
- Update generated ABI inventories, README/docs counts, and parent issue evidence from committed artifacts.
Parent: #134
Related: #140, #163, #164
Implement the pinned
Bun__promises__isErrorLikeprivate-ABI boundary used to classify unhandled rejection reasons.Acceptance
stackproperty, whether data or accessor; inherited-only properties and primitives return false.Object.prototype.hasOwnPropertyobservability for proxies: run[[GetOwnProperty]]exactly once, honor its invariants, and publish thrown/revoked-proxy failures through the VM pending-exception boundary.