Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3fefe4a90f634007e2f92f0a0710042b23825253 https://github.com/WebKit/WebKit/commit/3fefe4a90f634007e2f92f0a0710042b23825253 Author: Luming Yin <luming_...@apple.com> Date: 2025-09-04 (Thu, 04 Sep 2025)
Changed paths: M Source/WTF/wtf/PlatformEnable.h M Source/WTF/wtf/PlatformEnableCocoa.h M Source/WebCore/platform/ios/UserAgentIOS.mm Log Message: ----------- When choosing "Request Mobile Website", visionOS returns 16_3_1 OS version number instead of 18_6 like iPad https://bugs.webkit.org/show_bug.cgi?id=298430 rdar://159904388 Reviewed by Tim Horton. Retire the compatibility hack to hardcode 16_3_1 OS version number for visionOS. This is no longer necessary since all visionOS version has aligned with iPadOS. * Source/WTF/wtf/PlatformEnable.h: * Source/WTF/wtf/PlatformEnableCocoa.h: Remove ENABLE_STATIC_IPAD_USER_AGENT_VALUE feature flag as it is no longer needed. * Source/WebCore/platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): Stop guarding deviceNameForUserAgent() behind ENABLE_STATIC_IPAD_USER_AGENT_VALUE as this flag has been removed. (WebCore::standardUserAgentWithApplicationName): Remove the compatibility hack to hardcode 16_3_1 OS version number for visionOS. Canonical link: https://commits.webkit.org/299606@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes