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

On 2013-12-05 18:54, Martin Thomson wrote:
> 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.

In that case the candidate object itself is null IIRC; not only the 
candidate attribute.

/Adam

Received on Friday, 6 December 2013 06:33:32 UTC