NEW 255988
Creating a VideoFrame fails when canvas is backed by a WebGL context
https://bugs.webkit.org/show_bug.cgi?id=255988
Summary Creating a VideoFrame fails when canvas is backed by a WebGL context
alex
Reported 2023-04-26 08:56:00 PDT
Whenever a getContext has been called with either webgl or webgl2, it's no longer possible to construct a VideoFrame using the canvas https://jsfiddle.net/jck4Lz7h/ Fails with: [Error] InvalidStateError: Canvas has no frame VideoFrame (_display:121) Global Code (_display:121) tested on a tot build (bf6ce950bacc83f9fb3dc35b9c1a632146d71047)
Attachments
Alexey Proskuryakov
Comment 1 2023-04-27 17:45:00 PDT
Thank you for the report! Could you please confirm when you last saw this working? I get the same error with Safari 16.5 beta.
alex
Comment 2 2023-04-28 03:46:43 PDT
Not sure if it was working before, I got it also in the stable version (Version 16.4 (18615.1.26.11.23))
Radar WebKit Bug Importer
Comment 3 2023-05-03 08:56:20 PDT
Note You need to log in before you can comment on or make changes to this bug.