Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 3ef8682. rdar://problem/113557767
Low end devices should not prewarm Web process on provisional load https://bugs.webkit.org/show_bug.cgi?id=259927 rdar://113557767 Reviewed by Chris Dumez. After 266255@main, a Web process is prewarmed on provisional load instead of when the main frame load has finished. This is a page load time progression on most iOS devices, except for the low end ones. For these devices, we should still be prewarming when the main frame load has finished. The change in 266255@main is also performance neutral on macOS, so we can also keep the original behavior there. * Source/WTF/wtf/PlatformEnableCocoa.h: * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::shouldPrewarmWebProcessOnProvisionalLoad): (WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared): (WebKit::WebPageProxy::didFinishLoadForFrame): Canonical link: https://commits.webkit.org/266717@main Identifier: 265423.766@safari-7616.1.27.10-branch
- Loading branch information