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

[webrtc-pc] RTCErrorEvent constructor's RTCErrorEventInit parameter should be optional (#2070)

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Jan 2019 15:21:48 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-401399570-1548084104-sysbot+gh@w3.org>
henbos has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCErrorEvent constructor's RTCErrorEventInit parameter should be optional ==
Because RTCErrorEventInit contains not required attributes, and as such can be constructed from {}, the recommendation (@foolip) is that when this type is used as an argument, that argument is optional. That is:

```
Constructor(DOMString type, optional RTCErrorEventInit eventInitDict)
```
Here: https://w3c.github.io/webrtc-pc/#dom-rtcerrorevent

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2070 using your GitHub account
Received on Monday, 21 January 2019 15:21:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:46 UTC