Summary: | [iOS] The default application name for user agent when requesting desktop content is still "Mobile/15E148" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||
Component: | WebKit2 | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aestes, bdakin, commit-queue, thorton, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Wenson Hsieh
2019-06-08 16:18:17 PDT
Created attachment 371686 [details]
Patch
Comment on attachment 371686 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=371686&action=review > Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:506 > + return _applicationNameForUserAgent.hasValue() ? _applicationNameForUserAgent->get() : nil; valueOr? Comment on attachment 371686 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=371686&action=review >> Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:506 >> + return _applicationNameForUserAgent.hasValue() ? _applicationNameForUserAgent->get() : nil; > > valueOr? Good catch! Will use it here and below (-applicationNameForUserAgent) as well. Created attachment 371700 [details]
Patch for landing
Comment on attachment 371700 [details] Patch for landing Clearing flags on attachment: 371700 Committed r246236: <https://trac.webkit.org/changeset/246236> |