-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Quirk] iPadOS: Unable to enter PIN in account linking flow on shopee.sg
https://bugs.webkit.org/show_bug.cgi?id=273864 rdar://127031587 Reviewed by Tim Horton. Add a quirk to use an *iPhone* user agent on `shopee.sg/payment/account-linking/landing`. Currently, sending either macOS or (non-desktop-class) iPad user agents cause Shopee to load content that doesn't work unless the user has a hardware keyboard; namely, the PIN input elements don't actually use focusable elements at all, and instead rely on receiving hardware keyboard events. Work around this for now with a site-specific quirk to load an iPhone user agent in this specific landing page; while the layout doesn't fit very well for an iPad screen, it's at least functional. * Source/WebCore/page/Quirks.cpp: (WebCore::Quirks::needsIPadMiniUserAgent): (WebCore::Quirks::needsIPhoneUserAgent): (WebCore::Quirks::needsIpadMiniUserAgent): Deleted. * Source/WebCore/page/Quirks.h: * Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm: (WebKit::desktopClassBrowsingRecommendedForRequest): (WebKit::WebPageProxy::effectiveContentModeAfterAdjustingPolicies): Canonical link: https://commits.webkit.org/278493@main
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters