RTCDtlsTransport.onerror error.message #495

Closed
robin-raymond opened this Issue Apr 22, 2016 · 3 comments

Projects

None yet

2 participants

@robin-raymond
Contributor

onerror of type EventHandler, nullable
This event handler, of event handler type error, must be supported by all objects implementing the RTCDtlsTransport interface. This event must be fired on reception of a DTLS error alert; an implementation should include DTLS error alert information in error.message.

I don't see error.message defined in the reference of the error event type.

And webrtc has this definition for error events:
http://w3c.github.io/webrtc-pc/#dfn-errorevent

@aboba
Contributor
aboba commented Apr 22, 2016

The error event interface is defined here:
http://w3c.github.io/html/webappapis.html#the-errorevent-interface

Should we reference this similarly to what WebRTC 1.0 does?

@robin-raymond
Contributor

Should we reference this similarly to what WebRTC 1.0 does?

Yes.

@aboba aboba added the PR exists label Apr 25, 2016
@aboba aboba added a commit that referenced this issue Apr 25, 2016
@aboba aboba RTCDtlsTransport.onerror error.message
Fix for Issue #495
e32f1c3
@robin-raymond
Contributor

Better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment