[mediacapture-main] Touching a browsing context in an "in parallel" section is not OK.

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-main:

== Touching a browsing context in an "in parallel" section is not OK. ==
Some feedback from our DOM team on the [getUserMedia](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia()) algorithm's handling of `originIdentifier`:

1)  A browsing context does not have a concept of "origin".
2)  Touching a browsing context in an "in parallel" section is not OK.
3)  The top-level browsing context may not have anything to do with the API being invoked.

Basically, this algorithm needs to capture the origin from a sane place before going parallel.  Right now it's not doing any of those things.

To avoid some sharp edges, we should also check that the relevant document is fully active. See https://github.com/w3c/permissions/issues/162.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/488 using your GitHub account

Received on Saturday, 7 October 2017 00:09:08 UTC