W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2013

Re: Nullable interface members (which cannot be initialized to null by the script)

From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 5 Dec 2013 09:54:20 -0800
Message-ID: <CABkgnnW2SofsNMg_qjO7=yJGfd9t+He9JFvv=B3YWj9h8LF6+w@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
Yes, remove the ? where appropriate.

On 5 December 2013 02:11, Adam Bergkvist <adam.bergkvist@ericsson.com> wrote:
> interface RTCIceCandidate {
>                 attribute DOMString?      candidate;
>                 attribute DOMString?      sdpMid;
>                 attribute unsigned short? sdpMLineIndex;

Given that null is used as a sentinel here signifying the end of
candidate gathering, this one can't be changed.
Received on Thursday, 5 December 2013 17:54:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:37 UTC