nullable

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