Add WKWebviewConfiguration SPI to run client navigations at foreground priority, even if the view is background.
<rdar://problem/59227077>
Created attachment 389981 [details] Patch
Comment on attachment 389981 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389981&action=review r=me > Source/WebKit/UIProcess/ios/PageClientImplIOS.mm:153 > + bool isViewService = WTF::processHasEntitlement("com.apple.UIKit.vends-view-services") && [[m_webView window] _isHostedInAnotherProcess]; > + if (_UIApplicationIsExtension() || isViewService) { Might be nicer to use applicationType() here.
(In reply to Geoffrey Garen from comment #3) > Comment on attachment 389981 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=389981&action=review > > r=me > > > Source/WebKit/UIProcess/ios/PageClientImplIOS.mm:153 > > + bool isViewService = WTF::processHasEntitlement("com.apple.UIKit.vends-view-services") && [[m_webView window] _isHostedInAnotherProcess]; > > + if (_UIApplicationIsExtension() || isViewService) { > > Might be nicer to use applicationType() here. applicationType() is in ApplicationStateTracker.mm, would you like me to move it somewhere else so I can reuse it here?
Created attachment 390009 [details] Patch
Comment on attachment 390009 [details] Patch Clearing flags on attachment: 390009 Committed r255992: <https://trac.webkit.org/changeset/255992>
All reviewed patches have been landed. Closing bug.