[mediacapture-main] Can IDL typedef for MediaStreamError be (DOMException or OverconstrainedError)?

SaschaNaz has just created a new issue for https://github.com/w3c/mediacapture-main:

== Can IDL typedef for MediaStreamError be (DOMException or OverconstrainedError)? ==
https://w3c.github.io/mediacapture-main/archives/20170828/getusermedia.html#navigatorusermediaerrorcallback

```webidl
typedef object MediaStreamError;
// A MediaStreamError object is either a DOMException object or an OverconstrainedError object. 
```

Can this be a union:

```WebIDL
typedef (DOMException or OverconstrainedError) MediaStreamError;
```

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/484 using your GitHub account

Received on Sunday, 10 September 2017 12:09:53 UTC