Skip to content

Commit aa49328

Browse files
committed
more bikshed fixes
1 parent af6b62d commit aa49328

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

index.bs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4202,7 +4202,7 @@ Methods</h4>
42024202
</div>
42034203

42044204
<pre class=argumentdef for="AudioParam/cancelAndHoldAtTime()">
4205-
cancelTime: The time after which any previously scheduled parameter changes will be cancelled. It is a time in the same time coordinate system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}} attribute. <span class="synchronous">A {{RangeError}} exception MUST be thrown if <code>cancelTime</code> is negative. If {{AudioParam/cancelAndHoldAtTime()/cancelTime}} is less than {{BaseAudioContext/currentTime}}, it is clamped to {{BaseAudioContext/currentTime}}.
4205+
cancelTime: The time after which any previously scheduled parameter changes will be cancelled. It is a time in the same time coordinate system as the {{AudioContext}}'s {{BaseAudioContext/currentTime}} attribute. <span class="synchronous">A {{RangeError}} exception MUST be thrown if <code>cancelTime</code> is negative.</span> If {{AudioParam/cancelAndHoldAtTime()/cancelTime}} is less than {{BaseAudioContext/currentTime}}, it is clamped to {{BaseAudioContext/currentTime}}.
42064206
</pre>
42074207

42084208
<div>
@@ -11745,7 +11745,7 @@ Once per second, execute the update audio stats algorithm:
1174511745
[=Document/visibility state=] is `"visible"`, set <var>canUpdate</var> to
1174611746
true.
1174711747
1. Let <var>permission</var> be the [=permission state=] for the permission
11748-
associated with [="microphone"=] access.
11748+
associated with [=microphone=] access.
1174911749
If <var>permission</var> is "granted", set <var>canUpdate</var> to true.
1175011750
1. If <var>canUpdate</var> is false, abort these steps.
1175111751
1. Set {{[[underrun duration]]}} to the total duration of all [=underrun events=]
@@ -11764,9 +11764,10 @@ Once per second, execute the update audio stats algorithm:
1176411764
{{[[audio context]]}} playback over the {{currently tracked interval}}.
1176511765
</div>
1176611766

11767-
<h4>Privacy considerations for {{AudioPlaybackStats}}</h4>
11767+
<h4 id="AudioPlaybackStats-privacy-considerations">
11768+
Privacy considerations for {{AudioPlaybackStats}}</h4>
1176811769

11769-
<h5>Risk</h5>
11770+
<h5 id="AudioPlaybackStats-privacy-risks">Risk</h5>
1177011771
Audio underrun information could be used to form a cross-site
1177111772
covert channel between two cooperating sites.
1177211773
One site could transmit information by intentionally causing audio glitches
@@ -11777,7 +11778,8 @@ Note: This covert channel depends on specific system characteristics.
1177711778
It typically requires a shared linearization point (such as an OS or browser
1177811779
audio mixer) and callbacks that are effectively synchronous from that point,
1177911780
without intermediate buffering that would flatten load spikes.
11780-
<h5 id="AudioPlaybackStats-mitigations">Mitigations</h5>
11781+
11782+
<h5 id="AudioPlaybackStats-privacy-mitigations">Mitigations</h5>
1178111783
To inhibit the usage of such a covert channel, the API implements these
1178211784
mitigations.
1178311785
- The values returned by the API MUST not be updated more than once per

0 commit comments

Comments
 (0)