Bug 240938
Summary: | Use desktop User Agent when preconnecting for loads that are predicted to use desktop content mode | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
Component: | WebKit Misc. | Assignee: | Matt Woodrow <mattwoodrow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matt Woodrow
Preconnect currently requires a user agent string, and the preconnected socket will not be used if it doesn't match the UA of the HTTP request (and an HTTPS proxy is in use). When we use a desktop content mode and use the desktop UA for the request, this won't match the mobile UA used for preconnect. This improves the preconnect logic to predict the UA using the default webpage policies.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/1037
Radar WebKit Bug Importer
<rdar://problem/93946257>
EWS
Committed r294987 (251091@main): <https://commits.webkit.org/251091@main>
Reviewed commits have been landed. Closing PR #1037 and removing active labels.