RESOLVED DUPLICATE of bug 239744 239076
[iOS] Stack overflow in -[WKFullScreenWindowController _exitFullscreenImmediately]
https://bugs.webkit.org/show_bug.cgi?id=239076
Summary [iOS] Stack overflow in -[WKFullScreenWindowController _exitFullscreenImmedia...
Ali Juma
Reported 2022-04-11 09:58:15 PDT
Created attachment 457263 [details] Test case This happens when calling window.alert() very soon after calling webkitRequestFullscreen(). On my iPad mini 4 running iOS 15.5 beta, calling alert() ~250ms after webkitRequestFullscreen() triggers this bug at least 50% of the time. I can also reproduce on iOS 15.4. Steps to reproduce in Safari with the attached test case: 1) Tap the "Launch fullscreen" button. This will enter fullscreen and schedule a call to alert() in 250ms. At least 50% of the time, this will crash the UIProcess with a stack overflow in -[WKFullScreenWindowController _exitFullscreenImmediately]. If it doesn't work the first time, reload the page and try again. This does not cause a crash on Safari on macOS, but sometimes causes the entire screen to go blank for several seconds.
Attachments
Test case (432 bytes, text/html)
2022-04-11 09:58 PDT, Ali Juma
no flags
Crash report from iOS 15.5 beta (75.45 KB, text/plain)
2022-04-11 09:58 PDT, Ali Juma
no flags
Ali Juma
Comment 1 2022-04-11 09:58:42 PDT
Created attachment 457264 [details] Crash report from iOS 15.5 beta
Radar WebKit Bug Importer
Comment 2 2022-04-11 11:53:17 PDT
Ali Juma
Comment 3 2022-05-06 12:51:31 PDT
*** This bug has been marked as a duplicate of bug 239744 ***
Note You need to log in before you can comment on or make changes to this bug.