Bug 257210
| Summary: | Page reload does not take a foreground process assertion | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit2 | Assignee: | Ben Nham <nham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, kkinnunen, nham, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Nham
On some app resumes where an app does a reload in an offscreen WKWebView, we have seen WebContent initialization take 15+ seconds because it's running at background priority. This is because WebPageProxy::reload doesn't take a foreground process assertion. However, WebPageProxy::loadRequest does take a foreground process assertion by default on iOS (207341). This seems like an oversight that should be fixed.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ben Nham
rdar://109407280
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/14249
EWS
Committed 264443@main (bce1eb6c24fb): <https://commits.webkit.org/264443@main>
Reviewed commits have been landed. Closing PR #14249 and removing active labels.