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

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:49 UTC