Bug 255988
| Summary: | Creating a VideoFrame fails when canvas is backed by a WebGL context | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alex <alex.vestin> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, dino, eric.carlson, jer.noble, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 13 | ||
alex
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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
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
<rdar://problem/108843033>