@@ -6601,7 +6601,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
6601
6601
<p>
6602
6602
When <a>AudioWorkletNode</a>(<var>context</var>,
6603
6603
<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
6605
6605
thread, where the constructor was called.
6606
6606
</p>
6607
6607
<ol>
@@ -6721,10 +6721,7 @@ <h2 id="instantiation-of-AudioWorkletNode-and-AudioWorkletProcessor">
6721
6721
</li>
6722
6722
<li>If <var>processor</var> does not implement the
6723
6723
<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.
6728
6725
</li>
6729
6726
<li>Set <var>processor</var>'s <a href=
6730
6727
"#widl-AudioWorkletProcessor-port">port</a> to
@@ -6887,6 +6884,14 @@ <h3>
6887
6884
6888
6885
});
6889
6886
</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>
6890
6895
</section>
6891
6896
<section>
6892
6897
<h3>
0 commit comments