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

Re: [mediacapture-main] error for dismissing the getUserMedia prompt?

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 May 2017 20:04:41 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-304723631-1496088280-sysbot+gh@w3.org>
@jan-ivar, sorry, I didn't read the specs first. Looks like https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia() explicitly invokes https://w3c.github.io/permissions/#request-permission-to-use and handles both the "granted" and "denied" return values, which would explain one way of rejecting the promise.

@guidou, if Chrome ever rejects the getUserMedia() promise with anything other than a "NotAllowedError" DOMException, can you file a bug to track that?

-- 
GitHub Notification of comment by foolip
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/451#issuecomment-304723631 using your GitHub account
Received on Monday, 29 May 2017 20:04:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:32 UTC