[webrtc-pc] Make RTCError inherit from DOMException? (#2082)

alvestrand has just created a new issue for https://github.com/w3c/webrtc-pc:

== Make RTCError inherit from DOMException? ==
According to @domenic it is now possible to define IDL types that inherit from DOMException.
This would allow us to do a pure IDL specification of RTCError, which is a far simpler specification than the one we're doing now (and comports with the one in-progress implementation I know about).

DOMException spec:
https://heycam.github.io/webidl/#idl-DOMException

Should we do this?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2082 using your GitHub account

Received on Wednesday, 23 January 2019 08:05:23 UTC