Parent: #239
Depends on: #240
Implement Bun__Process__emitWarning and Bun__promises__emitUnhandledRejectionWarning over the realm-owned process EventEmitter.
Acceptance:
- Match string/Error warning normalization, name/type/code/detail/stack descriptors, and ordered
warning listener delivery.
- Reproduce the two-warning unhandled-rejection path, exact own-stack classification, throwing stack reads, pure fallback stringification, and exception clearing between emissions.
- Preserve selected-realm prototypes, reason/promise identity, sibling boundaries, and listener-throw behavior.
- Add focused and pinned consumer evidence; refresh inventories/docs.
Parent: #239
Depends on: #240
Implement
Bun__Process__emitWarningandBun__promises__emitUnhandledRejectionWarningover the realm-owned process EventEmitter.Acceptance:
warninglistener delivery.