Bug 202070 - Regression(iOS 13) web views do not deal properly with their window's UIScene changing
Summary: Regression(iOS 13) web views do not deal properly with their window's UIScene...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-20 19:41 PDT by Chris Dumez
Modified: 2019-09-21 16:13 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.53 KB, patch)
2019-09-20 19:46 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 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.
Comment 1 Chris Dumez 2019-09-20 19:41:31 PDT
<rdar://problem/55580699>
Comment 2 Chris Dumez 2019-09-20 19:46:03 PDT
Created attachment 379304 [details]
Patch
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2019-09-21 16:13:55 PDT
All reviewed patches have been landed.  Closing bug.