W3C home > Mailing lists > Public > public-webrtc@w3.org > August 2014

nullable

From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Date: Tue, 26 Aug 2014 15:17:03 +0200
Message-Id: <6A5C781B-E56F-4144-B338-C3FA976B179D@lurchi.franken.de>
Cc: Peter <titzpeter@gmx.net>
To: public-webrtc <public-webrtc@w3.org>
Dear all,

in
http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcpeerconnection-interface-extensions
the label argument of createDataChannel() is described as
[TreatNullAs=EmptyString] DOMString label
I read this that createDataChannel(NULL) is the same as createDataChannel("").
Is that correct?
On the other hand, in the table shown in
http://dev.w3.org/2011/webrtc/editor/webrtc.html#methods-1
it is stated that the label argument is not Nullable. What does this mean?
Isn't that contradicting the above statement?

Regarding send() it is stated in
http://dev.w3.org/2011/webrtc/editor/webrtc.html#methods-2
that the data argument is shown as not Nullable. Does this mean that calling
send(NULL) will result in an error/exception? Does this need to be stated?

Best regards
Michael
Received on Tuesday, 26 August 2014 13:17:41 UTC

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