Skip to content

Commit e59b745

Browse files
rtoypadenot
authored andcommitted
Fix #1166: decodeAudioData throws DataCloneError for detached buffer (#1183)
Throw DataCloneError instead of TypeError.
1 parent 4732b02 commit e59b745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ <h2 id="BaseAudioContext">
10901090
</li>
10911091
<li>Else, execute the following steps:
10921092
<ol>
1093-
<li>Let <var>error</var> be a <code>TypeError</code>.
1093+
<li>Let <var>error</var> be a <code>DataCloneError</code>.
10941094
</li>
10951095
<li>Reject <var>promise</var> with <var>error</var>.
10961096
</li>

0 commit comments

Comments
 (0)