Bug 305790
| Summary: | Initialize CacheModel based on whether app is a web browser | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit Misc. | Assignee: | Ben Nham <nham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Nham
CacheModel is currently initialized to PrimaryWebBrowser by default. This means that we end up doing things like enabling the web process cache for trivial use cases in iOS apps that just use a WKWebView to display a small element. To fix this, initialize CacheModel to DocumentBrowser by default, and only set it to PrimaryWebBrowser if the UIProcess is actually a browser.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/168463192>
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/56853
EWS
Committed 306035@main (8539dbad5719): <https://commits.webkit.org/306035@main>
Reviewed commits have been landed. Closing PR #56853 and removing active labels.