Huge or many textures can crash Safari
https://bugs.webkit.org/show_bug.cgi?id=241478
Summary Huge or many textures can crash Safari
Takahiro Aoyagi
Reported 2022-06-09 11:26:48 PDT
iOS Safari can crash or a web page can be unexpectedly refreshed if huge or many textures are uploaded in a web page. This is a simple test reproducing the problem. The test just loads image(s) and uploads texture(s) with gl.texImage2D(). https://takahirox.github.io/ios-render-test/simple.html How to test * Access the test page * Select texture num (Safari can crash more easily with larger number) * Click Run button In our tests, we confirmed that iOS Safari crashed or the web page was unexpectedly refreshed on iPhoneX Safari iOS 15.5: 3 or 4 textures iPhone 11 iOS 15.5: 1 texture Refer to https://github.com/mozilla/hubs/issues/4669#issuecomment-1150543088 for more results. This problem is not reproducible on Windows Chrome or Android Chrome. So it may be an iOS Safari specific problem. iOS Chrome may seem to have a same problem. So more precisely, the problem might be iOS specific rather than iOS Safari specific.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-16 11:27:13 PDT
Note You need to log in before you can comment on or make changes to this bug.