Skip to content

Commit 71c1f3a

Browse files
committed
Addressing feedback from padenot@
1 parent 690b9a9 commit 71c1f3a

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
@@ -6712,7 +6712,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
67126712
<p>
67136713
When <a>AudioWorkletNode</a>(<var>context</var>,
67146714
<var>nodeName</var>, <var>options</var>) constructor is invoked,
6715-
the user agent must perform the following steps on the control
6715+
the user agent MUST perform the following steps on the control
67166716
thread, where the constructor was called.
67176717
</p>
67186718
<ol>
@@ -6832,10 +6832,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
68326832
</li>
68336833
<li>If <var>processor</var> does not implement the
68346834
<a>AudioWorkletProcessor</a> interface, throw an
6835-
<code>"InvalidStateError"</code> DOMException. NOTE: this can occur
6836-
if the author-supplied constructor uses JavaScript's
6837-
return-override feature, or does not properly call
6838-
<code>super()</code>.
6835+
<code>"InvalidStateError"</code> DOMException.
68396836
</li>
68406837
<li>Set <var>processor</var>'s <a href=
68416838
"#widl-AudioWorkletProcessor-port">port</a> to
@@ -6998,6 +6995,14 @@ <h3>
69986995

69996996
});
70006997
</pre>
6998+
<div class="note">
6999+
<p>
7000+
In the definition of <a>AudioWorkletProcessor</a> class, an
7001+
<code>InvalidStateError</code> will be thrown if the
7002+
author-supplied constructor uses JavaScript's return-override
7003+
feature, or does not properly call <code>super()</code>.
7004+
</p>
7005+
</div>
70017006
</section>
70027007
<section>
70037008
<h3>

0 commit comments

Comments
 (0)