Parent: #163, #164, #140, #134
Problem
The shared pinned Home/Bun symbol WebCore__CommonAbortReason__toJS is still pending even though zig-js already has selected-realm DOMException construction with exact name/message/code metadata.
Pinned contract
Bun revision 4982b91e maps the three CommonAbortReason tags as follows:
Timeout (1) -> TimeoutError: The operation timed out.
UserAbort (2) -> AbortError: The operation was aborted.
ConnectionClosed (3) -> AbortError: The connection was closed.
The result must be a fresh DOMException in the requested realm, inherit that realm DOMException prototype, expose the matching legacy code (23 or 20), and publish allocation failure through the existing VM exception boundary.
Acceptance criteria
- Export the exact shared symbol and enum-width ABI.
- Preserve selected-realm prototype identity, DOMException/Error classification, exact names/messages/codes, and freshness.
- Keep an already-pending VM exception intact and avoid allocation/mutation in that state.
- Add the symbol to the combined private runtime fixture.
- Refresh Home/Bun inventories, README and ABI docs.
- Pass the focused runtime fixture and batched ABI audits.
Parent: #163, #164, #140, #134
Problem
The shared pinned Home/Bun symbol
WebCore__CommonAbortReason__toJSis still pending even though zig-js already has selected-realm DOMException construction with exact name/message/code metadata.Pinned contract
Bun revision
4982b91emaps the threeCommonAbortReasontags as follows:Timeout(1) ->TimeoutError:The operation timed out.UserAbort(2) ->AbortError:The operation was aborted.ConnectionClosed(3) ->AbortError:The connection was closed.The result must be a fresh DOMException in the requested realm, inherit that realm DOMException prototype, expose the matching legacy code (23 or 20), and publish allocation failure through the existing VM exception boundary.
Acceptance criteria