diff --git a/index.src.html b/index.src.html index 49e76b43..97dc1e76 100644 --- a/index.src.html +++ b/index.src.html @@ -3838,7 +3838,7 @@ When invoked, run these steps: 1. If {{platform object/[[Detached]]}} is `true`, throw an {{InvalidStateError}} {{DOMException}}. - 2. If {{VideoFrame/[[format]]}} is `null`, throw a {{NotSupportedError}} + 2. If {{VideoFrame/[[format]]}} is `null` and |options|.{{VideoFrameCopyToOptions/format}} does not [=map/exist=], throw a {{NotSupportedError}} {{DOMException}}. 3. Let |combinedLayout| be the result of running the [=Parse VideoFrameCopyToOptions=] algorithm with |options|. @@ -3857,7 +3857,7 @@ When invoked, run these steps: 1. If {{platform object/[[Detached]]}} is `true`, return a promise rejected with a {{InvalidStateError}} {{DOMException}}. - 2. If {{VideoFrame/[[format]]}} is `null`, return a promise rejected with a + 2. If {{VideoFrame/[[format]]}} is `null` and |options|.{{VideoFrameCopyToOptions/format}} does not [=map/exist=], return a promise rejected with a {{NotSupportedError}} {{DOMException}}. 3. Let |combinedLayout| be the result of running the [=Parse VideoFrameCopyToOptions=] algorithm with |options|.