From f59fa5e40cb472f7a32ac983f24203e468c76e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=B8=9C=E5=8B=8B=20=7C=20=E9=87=91=E6=9D=B1?= =?UTF-8?q?=E5=8B=B3=20=7C=20=EA=B9=80=EB=8F=99=ED=9B=88=20=7C=20Jin=20Don?= =?UTF-8?q?gxun?= Date: Sat, 7 Nov 2026 19:29:11 +0800 Subject: [PATCH] Specify destination length in chunk copyTo() --- index.src.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.src.html b/index.src.html index e4fadd2d..a25eab1a 100644 --- a/index.src.html +++ b/index.src.html @@ -2698,7 +2698,7 @@ : copyTo(destination) :: When invoked, run these steps: 1. If the {{EncodedAudioChunk/[[byte length]]}} of this {{EncodedAudioChunk}} is - greater than in |destination|, throw a {{TypeError}}. + greater than the [=BufferSource/byte length=] of |destination|, throw a {{TypeError}}. 2. Copy the {{EncodedAudioChunk/[[internal data]]}} into |destination|. ### Serialization ###{#encodedaudiochunk-serialization} @@ -2805,7 +2805,7 @@ : copyTo(destination) :: When invoked, run these steps: 1. If {{EncodedVideoChunk/[[byte length]]}} is greater than - the {{EncodedVideoChunk/[[byte length]]}} of |destination|, throw a + the [=BufferSource/byte length=] of |destination|, throw a {{TypeError}}. 2. Copy the {{EncodedVideoChunk/[[internal data]]}} into |destination|.