RESOLVED DUPLICATE of bug 254071 254107
REGRESSION: Incomplete offscreen canvas implementation causing NPEs
https://bugs.webkit.org/show_bug.cgi?id=254107
Summary REGRESSION: Incomplete offscreen canvas implementation causing NPEs
Nicholas Butko
Reported 2023-03-17 22:48:42 PDT
Code that requests WebGL contexts from Offscreen canvas when available is crashing on iOS 16.4 beta Code of the form: ``` const canvas = window.OffscreenCanvas ? new OffscreenCanvas(0, 0) : document.createElement('canvas') const ctx = canvas.getContext('webgl2') || canvas.getContext('webgl') ``` is leading to downstream errors in production sites due to ctx being null.
Attachments
Alexey Proskuryakov
Comment 1 2023-03-19 21:37:06 PDT
*** This bug has been marked as a duplicate of bug 254071 ***
Note You need to log in before you can comment on or make changes to this bug.