Use typed dictionaries and arguments for constructor/initMessageEvent,
native source and MessagePort brand checks, and lossless lastEventId strings.
Allocate frozen ports arrays in the event's creation realm.
Native message producers share intrinsic event creation and payload setup,
so public ports conversion cannot invoke author code during delivery or
change an undefined message payload to the public null default.
Validated from the original repository root with workspace formatting,
all-targets/all-features Clippy with warnings denied, and full nextest:
20831 passed, 16 skipped, 32 threads, no retries.
Use native Event state and generated WebIDL argument, dictionary, and
receiver checks for RTCPeerConnectionIceErrorEvent. Preserve DOMString
code units, convert USVString fields, and expose readonly payload getters.
Validated with workspace fmt, all-target all-feature clippy, and nextest
(20,811 passed, 16 skipped, no retries). The 13-page native WPT event
selection passes all 99 assertions; the shared fixture passes 168 checks
on HTTP, HTTPS, and opaque insecure origins.
Use the upstream owner-settlement API and publish nested command output at
the shared completion boundary. Inspector callbacks can already publish the
pending prefix while an owner remains paused; fence the concrete published
tail even when settlement has no new batch. This keeps beforeunload output
ahead of navigation fetch without closing the suspended command recorder.
Include before-fetch messages and completion details in the existing
paused-navigation regression assertions, and format replayed imports.
Validation: cargo fmt --all; workspace/all-target/all-feature Clippy with
warnings denied; nextest 20,797 passed, 16 skipped, 32 threads, zero retries.
Both paused beforeunload regressions also passed 10 consecutive rounds.