From 8655a0631e0cc435141882938ebd41839cbfc723 Mon Sep 17 00:00:00 2001 From: Youenn Fablet Date: Fri, 2 Feb 2024 11:10:06 +0100 Subject: [PATCH] Update Detached slot to link to html spec Remove also the close video frame specific link now that it is exported in WebCodecs spec --- index.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 1c5aad5..bb43e96 100644 --- a/index.bs +++ b/index.bs @@ -14,7 +14,6 @@ Abstract: {{MediaStreamTrack}}s carrying raw data. Markup Shorthands: css no, markdown yes
-url: https://w3c.github.io/webcodecs/#close-videoframe; text: Close VideoFrame; type: dfn; spec: WEBCODECS
 url: https://w3c.github.io/webcodecs/#videoframe; text: VideoFrame; type: interface; spec: WEBCODECS
 url: https://w3c.github.io/webcodecs/#videoencoder; text: VideoEncoder; type: interface; spec: WEBCODECS
 url: https://streams.spec.whatwg.org/#readablestream-controller; text: [[controller]]; for: ReadableStream; type: dfn; spec: STREAMS
@@ -301,7 +300,7 @@ is accessed for the first time, it MUST be initialized with the following steps:
 
 The writeFrame algorithm is given a |generator| and a |frame| as input. It is defined by running the following steps:
 1. If |frame| is not a {{VideoFrame}} object, return [=a promise rejected with=] a {{TypeError}}.
-1. If the value of |frame|’s [[Detached]] internal slot is true, return [=a promise rejected with=] a {{TypeError}}.
+1. If the value of |frame|’s {{platform object/[[Detached]]}} internal slot is true, return [=a promise rejected with=] a {{TypeError}}.
 1. If |generator|.`[[isMuted]]` is false, send the media data backing |frame| to all live tracks sourced from |generator|.
 1. Run the [=Close VideoFrame=] algorithm with |frame|.
 1. Return [=a promise resolved with=] undefined.