[Webkit-unassigned] [Bug 261331] REGRESSION (iPadOS 17 Developer Beta 8): "WebGL: context lost." error when backgrounding Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 25 11:14:42 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261331

--- Comment #8 from Opher Vishnia <opher at eko.com> ---
In our case after much effort we've been able to narrow this down to a texImage2D call that receives a video element as its 6th argument. If the video is paused, then the WebGl crash happens (and WebGL will no longer be able to get context). If the video is playing, the crash does not happen.

e.g.
texImage2D(
            bindPoint,
            0,
            gl.RGBA,
            gl.RGBA,
            gl.UNSIGNED_BYTE,
            videoElement
        );


Our temporary workaround is to check whether the video was playing or not in iOS 17

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230925/788071b0/attachment.htm>


More information about the webkit-unassigned mailing list