Bug 241478
Summary: | Huge or many textures can crash Safari | ||
---|---|---|---|
Product: | WebKit | Reporter: | Takahiro Aoyagi <taoyagi> |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | brianpeiris, dino, kbr, kkinnunen, kpiddington, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 15 |
Takahiro Aoyagi
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/95316524>