[webkit-changes] [WebKit/WebKit] 933e2a: iPad/Mac without MobileGestalt should use "iPad" M...
Tim Horton
noreply at github.com
Tue May 30 11:44:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 933e2a5f0110d42220fc086e38d72f5fa589c062
https://github.com/WebKit/WebKit/commit/933e2a5f0110d42220fc086e38d72f5fa589c062
Author: Tim Horton <thorton at apple.com>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
M Source/WebCore/platform/ios/Device.cpp
Log Message:
-----------
iPad/Mac without MobileGestalt should use "iPad" Mobile UA, not "iPhone"
https://bugs.webkit.org/show_bug.cgi?id=257503
rdar://109290803
Reviewed by Aditya Keerthi.
* Source/WebCore/platform/ios/Device.cpp:
(WebCore::deviceName):
Use deviceClassIsSmallScreen() to decide which fallback UA device name to use.
Canonical link: https://commits.webkit.org/264688@main
More information about the webkit-changes
mailing list