Re: [mediacapture-main] Disable user media by default in cross-origin iframes

Sorry for the wait, @alvestrand

The FP spec is up now at https://wicg.github.io/feature-policy. I've 
mentioned `camera`, `mic`, and `speakers` in it, but only as part of 
the appendix listing known features.

I think the thing to do in the usermedia spec is to
 * declare those three to be *features*, as defined in the FP spec
 * declare their corresponding keywords and default allowlists (should
 be ["self"] for all three, I believe)
 * define exactly what should happen if each feature is disabled in a 
frame.

Something like the wording in 
https://wicg.github.io/feature-policy/#camera-feature, although it may
 need to be more precise in terms of errors returned, exceptions 
raised, promises rejected, etc.

If it is defined as a *feature*, then it will be usable either in 
`<iframe allow="...">` syntax, or in a `Feature-Policy` HTTP header.


-- 
GitHub Notification of comment by clelland
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/434#issuecomment-283717314
 using your GitHub account

Received on Thursday, 2 March 2017 17:15:49 UTC