From 1d75940f619bf1403a77d95fb83a2acefaf67590 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: Mon, 9 Nov 2026 13:09:18 +0800 Subject: [PATCH] Throw invalid visible rectangle errors in the VideoFrame constructor --- index.src.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.src.html b/index.src.html index 2d6cb6ae..b455053e 100644 --- a/index.src.html +++ b/index.src.html @@ -3663,7 +3663,7 @@ |init|.{{VideoFrameBufferInit/codedWidth}}, |init|.{{VideoFrameBufferInit/codedHeight}}, and |init|.{{VideoFrameBufferInit/format}}. -6. If |parsedRect| is an exception, return |parsedRect|. +6. If |parsedRect| is an exception, throw |parsedRect|. 7. Let |optLayout| be `undefined`. 8. If |init|.{{VideoFrameBufferInit/layout}} [=map/exists=], assign its value to |optLayout|.