Skip to content

Commit

Permalink
Replace usage of "responsible document"
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Apr 4, 2022
1 parent 0490a4e commit b70187a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ <h4>Life-cycle</h4>
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`=]
<a data-cite="!HTML/#gains-focus">has focus</a> at that time. If the
document does not <a data-cite="!HTML/#gains-focus">have focus</a> at that time,
the UA SHOULD instead queue a task to <a data-lt=muted>mute</a> the
Expand Down Expand Up @@ -2728,7 +2728,7 @@ <h3>{{MediaDevices}}</h3>
[=creating a list of device info objects=] for
{{MediaDevices/[[storedDeviceList]]}} and the
[=relevant settings object=]'s
[=environment settings object/responsible document=].</p>
[=relevant global object=]'s [=associated `Document`=].</p>
</li>
<li>
<p>Let <var>deviceList</var> be the list of all media input and/or
Expand All @@ -2738,7 +2738,7 @@ <h3>{{MediaDevices}}</h3>
<p>Let <var>newExposedDevices</var> be the result of
[=creating a list of device info objects=] for
<var>deviceList</var> and the [=relevant settings object=]'s
[=environment settings object/responsible document=].</p>
[=relevant global object=]'s [=associated `Document`=].</p>
</li>
<li>
<p>If the {{MediaDeviceInfo}} objects in <var>newExposedDevices</var>
Expand Down Expand Up @@ -2823,7 +2823,7 @@ <h2>Methods</h2>
<li>

<p>Let <var>document</var> be the [=relevant settings object=]'s
[=environment settings object/responsible document=].</p>
[=relevant global object=]'s [=associated `Document`=].</p>
</li>
<li>
<p>The [=User Agent=] MUST wait to proceed to the next step until
Expand Down Expand Up @@ -2950,9 +2950,9 @@ <h2>Methods</h2>
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.</p>
<p class="fingerprint">After the [=environment settings object/responsible document=]
<p class="fingerprint">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
Expand All @@ -2970,7 +2970,7 @@ <h2>Methods</h2>
<section>
<h2>Access control model</h2>
<p>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.</p>
information depends on whether or not the [=relevant global object=]'s [=associated `Document`=] did capture.</p>
<p>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
Expand Down Expand Up @@ -3061,7 +3061,7 @@ <h2>Device information exposure</h2>
<li>
<p>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
<code>true</code>.</p>
</li>
<li>
Expand All @@ -3075,7 +3075,7 @@ <h2>Device information exposure</h2>
<li>
<p>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
<code>true</code>.</p>
</li>
<li>
Expand Down Expand Up @@ -3483,7 +3483,7 @@ <h2>Methods</h2>
</li>
<li>
<p>Let <var>document</var> be the [=relevant settings object=]'s
[=environment settings object/responsible document=].</p>
[=relevant global object=]'s [=associated `Document`=].</p>
</li>
<li>
<p>If <var>document</var> is NOT
Expand Down Expand Up @@ -3512,7 +3512,7 @@ <h2>Methods</h2>
<li>
<p>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
<a data-cite="!HTML/#gains-focus">has focus.</a></p>
</li>
Expand Down

0 comments on commit b70187a

Please sign in to comment.