W3C home > Mailing lists > Public > public-media-capture@w3.org > February 2016

[mediacapture-main] Switch getUserMedia permission-rejection to NotAllowedError ?

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Feb 2016 15:21:45 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-135765484-1456240903-sysbot+gh@w3.org>
jan-ivar has just created a new issue for 

== Switch getUserMedia permission-rejection to NotAllowedError ? ==
A new DOMException `NotAllowedError` was just added in 
https://github.com/heycam/webidl/pull/85. It seems more appropriate 
than today's `SecurityError` for `getUserMedia` when permissions are 
rejected (there are links in the PR suggesting it being useful for 
`PermissionDeniedError`-type errors, and that's what we had 

After all, we don't want people thinking `getUserMedia` is insecure 
now do we? Thoughts?

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/317 using your GitHub 
Received on Tuesday, 23 February 2016 15:21:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:35 UTC