[mediacapture-main] Global object relevant to what? (#938)

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

== Global object relevant to what? ==
This spec says things like _"the [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global)"_ (16 hits) without specifying which platform object it is relevant _to_.

For [mediaDevices](https://w3c.github.io/mediacapture-main/getusermedia.html#mediadevices) this is particularly noticeable as we create internal slots _"On page load, ... On the [relevant global object](https://html.spec.whatwg.org/multipage/#concept-relevant-global)"_, which seems wrong. The internal slots should probably be on the mediaDevices object itself, and initalized on its creation, not on _"page load"_.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 March 2023 17:53:36 UTC