Bug 202070

Summary: Regression(iOS 13) web views do not deal properly with their window's UIScene changing
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2019-09-20 19:41:14 PDT
Web views do not deal properly with their window's UIScene changing. If a Safari window is in the background for 1 minute, its UIScene will be detached and the window will get a new UIScene if the user later switches to this window. Our web views listen to UIScene notifications to determine their visibility and currently stop receiving visibility updates once the window’s UIScene has changed. This causes view freezes because our WebContent process does not know its view is visible and keeps its layer tree frozen.
Attachments
Patch (4.53 KB, patch)
2019-09-20 19:46 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-09-20 19:41:31 PDT
Chris Dumez
Comment 2 2019-09-20 19:46:03 PDT
WebKit Commit Bot
Comment 3 2019-09-21 16:13:53 PDT
Comment on attachment 379304 [details] Patch Clearing flags on attachment: 379304 Committed r250187: <https://trac.webkit.org/changeset/250187>
WebKit Commit Bot
Comment 4 2019-09-21 16:13:55 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.