Parent: #266 Depends on: #290 Roadmap: #142, #134
Implement the pinned WebAssembly exception JavaScript API and exact JS/Wasm identity behavior.
Acceptance:
- Implement the revision-matched
WebAssembly.TagandWebAssembly.Exceptionconstructors, prototypes, branding, reflection, and payload accessors. - Enforce exact descriptor evaluation order, type conversion, arity, range, and incompatible-receiver errors.
- Preserve Tag and Exception identity through imports, exports, JS callbacks, Wasm throws/catches, rethrows, async instantiation rejection, and cross-instance linking.
- Root reference payloads and wrappers across precise GC; release native/wrapper ownership exactly once on failure and teardown.
- Add differential system-engine tests only where the public embedding API exposes equivalent behavior.