Re: [webrtc-pc] NetworkError event is not defined and might not be needed

@adam-be  The Websocket onClose event handler provides the following 
information:

event.reason, eventWasClean, event.code:

1001    CLOSE_GOING_AWAY
1000    CLOSE_NORMAL
1005    CLOSE_NO_STATUS
1006    CLOSE_ABNORMAL

Note also that in order to provide this information the 
websocket.close method takes code and reason as arguments: 

void close(in optional unsigned long code, in optional DOMString 
reason);

So we have agreement that we want to add optional arguments to 
RTCDataChannel.close()?

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/526#issuecomment-275957789 
using your GitHub account

Received on Monday, 30 January 2017 00:10:17 UTC