W3C home > Mailing lists > Public > public-media-capture@w3.org > September 2017

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

From: Kagami Sascha Rosylight via GitHub <sysbot+gh@w3.org>
Date: Sun, 10 Sep 2017 12:09:59 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-256505751-1505045390-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Sunday, 10 September 2017 12:09:53 UTC