Skip to content

Commit 6abadb0

Browse files
committed
Addressing feedback from padenot@
1 parent cd89a3c commit 6abadb0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

index.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6601,7 +6601,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
66016601
<p>
66026602
When <a>AudioWorkletNode</a>(<var>context</var>,
66036603
<var>nodeName</var>, <var>options</var>) constructor is invoked,
6604-
the user agent must perform the following steps on the control
6604+
the user agent MUST perform the following steps on the control
66056605
thread, where the constructor was called.
66066606
</p>
66076607
<ol>
@@ -6721,10 +6721,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
67216721
</li>
67226722
<li>If <var>processor</var> does not implement the
67236723
<a>AudioWorkletProcessor</a> interface, throw an
6724-
<code>"InvalidStateError"</code> DOMException. NOTE: this can occur
6725-
if the author-supplied constructor uses JavaScript's
6726-
return-override feature, or does not properly call
6727-
<code>super()</code>.
6724+
<code>"InvalidStateError"</code> DOMException.
67286725
</li>
67296726
<li>Set <var>processor</var>'s <a href=
67306727
"#widl-AudioWorkletProcessor-port">port</a> to
@@ -6887,6 +6884,14 @@ <h3>
68876884

68886885
});
68896886
</pre>
6887+
<div class="note">
6888+
<p>
6889+
In the definition of <a>AudioWorkletProcessor</a> class, an
6890+
<code>InvalidStateError</code> will be thrown if the
6891+
author-supplied constructor uses JavaScript's return-override
6892+
feature, or does not properly call <code>super()</code>.
6893+
</p>
6894+
</div>
68906895
</section>
68916896
<section>
68926897
<h3>

0 commit comments

Comments
 (0)