-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTCDataChannel.send(null) #1835
Comments
TypeError seems right to me for arguments that have no substep defined. |
Then, I would come back and ask the same question for |
I think this is already covered by WebIDL since none of the send method overloads have a nullable argument. The result will be TypeError. |
Yes but since all implementations currently get it wrong, I think it's worth spending an extra step to provide clarity. |
Would a note be sufficient? |
@lgrahl Can you submit a PR? |
I'm unsure what's supposed to happen when calling
dataChannel.send(null)
. Step 3 of thesend
method states:But what if none of the types match? Raise
TypeError
?The text was updated successfully, but these errors were encountered: