From 56e71ccd363772ad6dc87edf0be64fda616fa304 Mon Sep 17 00:00:00 2001 From: ldm0 Date: Thu, 1 Oct 2026 21:57:45 +0800 Subject: [PATCH] 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. --- moli-renderer-v8/src/context_bootstrap/specs/registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moli-renderer-v8/src/context_bootstrap/specs/registry.rs b/moli-renderer-v8/src/context_bootstrap/specs/registry.rs index 141e9ee4d96..6c12663b574 100644 --- a/moli-renderer-v8/src/context_bootstrap/specs/registry.rs +++ b/moli-renderer-v8/src/context_bootstrap/specs/registry.rs @@ -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,