New issue
Advanced search Search tips

Issue 833732 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

CreateDataChannel should return an error code

Project Member Reported by hta@chromium.org, Apr 17 2018

Issue description

From the declaration of CreateDataChannel at various layers (webrtc, content, blink), it is clear that it returns a null pointer if creation fails.

The spec says that it should return various error codes for various conditions, including TypeError and StateError.

http://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-createdatachannel

Either all checking must be done before we create it (leaving other errors as InternalError), or we must pass back an error code from the lower layers.


 
Status: Available (was: Untriaged)

Sign in to add a comment