From 636a204b946a8fe406749b196cbd82ce8aae314d Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Thu, 10 Jul 2025 19:05:26 -0400 Subject: [PATCH] Allow construction of RTCError with null members --- webrtc.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/webrtc.html b/webrtc.html index 5ab169c9d..cf6f1c9c5 100644 --- a/webrtc.html +++ b/webrtc.html @@ -17402,8 +17402,7 @@

  • Set all {{RTCError}} attributes of e to the - value of the corresponding attribute in init if - it is present, otherwise set it to null. + value of the corresponding attribute in init.

  • @@ -17497,10 +17496,10 @@

    dictionary RTCErrorInit {
       required RTCErrorDetailType errorDetail;
    -  long sdpLineNumber;
    -  long sctpCauseCode;
    -  unsigned long receivedAlert;
    -  unsigned long sentAlert;
    +  long? sdpLineNumber = null;
    +  long? sctpCauseCode = null;
    +  unsigned long? receivedAlert = null;
    +  unsigned long? sentAlert = null;
     };

    The errorDetail,