diff --git a/getusermedia.html b/getusermedia.html index 4ac22edd..dd196000 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -768,7 +768,7 @@

Life-cycle

device as soon as any live track sourced by the device becomes both [= track/muted | unmuted =] and [= track/enabled =] again, provided that track's - [=relevant settings object=]'s [=environment settings object/responsible document=] + [=relevant settings object=]'s [=relevant global object=]'s [=associated `Document`=] has focus at that time. If the document does not have focus at that time, the UA SHOULD instead queue a task to mute the @@ -2728,7 +2728,7 @@

{{MediaDevices}}

[=creating a list of device info objects=] for {{MediaDevices/[[storedDeviceList]]}} and the [=relevant settings object=]'s - [=environment settings object/responsible document=].

+ [=relevant global object=]'s [=associated `Document`=].

  • Let deviceList be the list of all media input and/or @@ -2738,7 +2738,7 @@

    {{MediaDevices}}

    Let newExposedDevices be the result of [=creating a list of device info objects=] for deviceList and the [=relevant settings object=]'s - [=environment settings object/responsible document=].

    + [=relevant global object=]'s [=associated `Document`=].

  • If the {{MediaDeviceInfo}} objects in newExposedDevices @@ -2823,7 +2823,7 @@

    Methods

  • Let document be the [=relevant settings object=]'s - [=environment settings object/responsible document=].

    + [=relevant global object=]'s [=associated `Document`=].

  • The [=User Agent=] MUST wait to proceed to the next step until @@ -2950,9 +2950,9 @@

    Methods

    limit exposure to two bits of information: whether there is a camera and whether there is a microphone. A [=User Agent=] may mitigate this by pretending the system has a camera and a microphone, for instance until the - [=environment settings object/responsible document=] calls + [=relevant global object=]'s [=associated `Document`=] calls {{MediaDevices/getUserMedia()}} with constraints deemed reasonable.

    -

    After the [=environment settings object/responsible document=] +

    After the [=relevant global object=]'s [=associated `Document`=] started capture, it provides additional persistent cross-origin information via the list of all media capture devices, including their grouping and human readable labels associated @@ -2970,7 +2970,7 @@

    Methods

    Access control model

    The algorithm described above means that the access to media device - information depends on whether or not the [=environment settings object/responsible document=] did capture.

    + information depends on whether or not the [=relevant global object=]'s [=associated `Document`=] did capture.

    For camera and microphone devices, if the browsing context did not capture (i.e. {{MediaDevices/getUserMedia()}} was not called or never resolved successfully), the {{MediaDeviceInfo}} object will contain a valid value for {{MediaDeviceInfo/kind}} but empty strings @@ -3061,7 +3061,7 @@

    Device information exposure

  • If any of the local devices of kind "videoinput" are attached to a live {{MediaStreamTrack}} in the [=relevant settings object=]'s - [=environment settings object/responsible document=], return + [=relevant global object=]'s [=associated `Document`=], return true.

  • @@ -3075,7 +3075,7 @@

    Device information exposure

  • If any of the local devices of kind "audioinput" are attached to a live {{MediaStreamTrack}} in the [=relevant settings object=]'s - [=environment settings object/responsible document=], return + [=relevant global object=]'s [=associated `Document`=], return true.

  • @@ -3483,7 +3483,7 @@

    Methods

  • Let document be the [=relevant settings object=]'s - [=environment settings object/responsible document=].

    + [=relevant global object=]'s [=associated `Document`=].

  • If document is NOT @@ -3512,7 +3512,7 @@

    Methods

  • The [=User Agent=] MUST wait to proceed to the next step until the [=relevant settings object=]'s - [=environment settings object/responsible document=] is + [=relevant global object=]'s [=associated `Document`=] is [=Document/fully active=] and has focus.