W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Jan 2019 08:05:21 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-402115800-1548230720-sysbot+gh@w3.org>
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:24 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:46 UTC