W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

Re: [mediacapture-main] Should getUserMedia promise be resolved only on pages that have focus (#560)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Jan 2019 22:21:57 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-456989560-1548282116-sysbot+gh@w3.org>
Firefox has this behavior as well. Turning on camera/mic from a background tab is creepy.

This might even be something that could go in the [permissions](https://w3c.github.io/permissions/#request-permission-to-use) spec.

Having prompts appear from background tabs is generally a UX security issue.

*enumerateDevices()* does not require permission, so I'd treat that as a separate issue I think.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/560#issuecomment-456989560 using your GitHub account
Received on Wednesday, 23 January 2019 22:21:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:54 UTC