This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22365 - The spec should explicitly say something about getUserMedia() in an iframe.
Summary: The spec should explicitly say something about getUserMedia() in an iframe.
Status: RESOLVED WONTFIX
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-14 12:45 UTC by Adam Bergkvist
Modified: 2014-04-22 10:56 UTC (History)
3 users (show)

See Also:


Attachments

Description Adam Bergkvist 2013-06-14 12:45:18 UTC
I think we should allow this. There was a suggestion to not allow getUserMedia() in an iframe [1], but the people who expressed their opinions seemd to have a different view. 

A possible way to keep some of the increased security, gained by not allowing, is to disallow it by default, but let the main page to opt in to allow an iframe to use getUserMedia().

[1] http://lists.w3.org/Archives/Public/public-media-capture/2012Mar/0085.html
Comment 1 Adam Bergkvist 2013-06-17 11:59:34 UTC
The URL in the bug description is wrong; here's the right one:

http://lists.w3.org/Archives/Public/public-media-capture/2012Mar/0024.html
Comment 2 Stefan Hakansson LK 2014-04-03 13:30:44 UTC
Adam, can you propose text? Otherwise perhaps this should be closed as "wontfix" given that there has been no input since last summer.
Comment 3 Dominique Hazael-Massieux 2014-04-03 13:44:43 UTC
in case this helps, I surveyed a while ago how other permissions-gated APIs are deadling with this and other aspects:
http://dontcallmedom.github.io/web-permissions-req/matrix.html

In general, most APIs are allowed to run from within an iframe (except fullscreen ).

I personally think this is a bug of the platform as a whole, so I also feel this is better addressed globally rather than on a piecemeal basis, so I would suggest we remain silent on this for now.
Comment 4 Stefan Hakansson LK 2014-04-22 10:56:50 UTC
Let's remain silent on this, and have it addressed as a web platform question instead.