fix(webrtc): construct ICE error events with native fields

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.
This commit is contained in:
ldm0
2026-11-24 14:36:22 +08:00
parent 17eae476e8
commit 56e71ccd36
@@ -326,7 +326,7 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[
},
ConstructorSpec {
interface: web_api_interfaces::RTCPeerConnectionIceErrorEvent::DESCRIPTOR,
kind: ConstructorKind::Shell { length: 2 },
kind: ConstructorKind::RtcPeerConnectionIceErrorEvent,
},
ConstructorSpec {
interface: web_api_interfaces::RTCRtpScriptTransform::DESCRIPTOR,