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

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Sat, 07 Oct 2017 00:09:19 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-263601500-1507334945-sysbot+gh@w3.org>
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:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:40 UTC