Re: [webrtc-pc] Sort out meaning of "Fire event with OperationError exception"

As to intent, @alvestrand's guess is also mine. But *RTCErrorEvent*'s `error` member is of type *RTCError*, and incompatible with *DOMException*, so that won't work.

However, the surrounding steps, the closing of the data channel, looks identical to [data-channel-failure](http://w3c.github.io/webrtc-pc/#dfn-data-channel-failure), so my guess is this is what we want here. Maybe we can reuse that algorithm even?

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

Received on Tuesday, 28 August 2018 15:38:33 UTC