https://w3c.github.io/webcodecs/#dom-videoframe-copyto takes a [colorSpace](https://w3c.github.io/webcodecs/#dom-videoframecopytooptions-colorspace) of type [PredefinedColorSpace](https://html.spec.whatwg.org/multipage/canvas.html#predefinedcolorspace), an enum of "srgb" and "display-p3". It passes it to https://w3c.github.io/webcodecs/#videoframe-convert-to-rgb-frame, which assigns it to https://w3c.github.io/webcodecs/#dom-videoframe-color-space-slot of type [VideoColorSpace](https://w3c.github.io/webcodecs/#videocolorspace), which is a whole constructible interface. There needs to be a conversion of some sort in there. I think this was introduced in https://github.com/w3c/webcodecs/pull/754. cc/ @Djuffin