Bug 228750

Summary: fast/dom/navigator-iOS-userAgent.html fails on iPad because the platform is not "iPhone" or "iPad"
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, sam, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Tim Horton
Reported 2021-08-03 12:51:04 PDT
fast/dom/navigator-iOS-userAgent.html fails on iPad because the platform is not "iPhone" or "iPad"
Attachments
Patch (2.76 KB, patch)
2021-08-03 12:52 PDT, Tim Horton
ews-feeder: commit-queue-
Tim Horton
Comment 1 2021-08-03 12:52:10 PDT
EWS
Comment 2 2021-08-03 13:29:35 PDT
Committed r280610 (240228@main): <https://commits.webkit.org/240228@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434855 [details].
Radar WebKit Bug Importer
Comment 3 2021-08-03 13:30:31 PDT
Alexey Proskuryakov
Comment 4 2021-08-03 20:25:53 PDT
Comment on attachment 434855 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434855&action=review > LayoutTests/fast/dom/navigator-iOS-userAgent.html:-13 > -var isIPadUserAgent = userAgent.indexOf("Mozilla/5.0 (iPhone;") == 0; > -var isIPhoneUserAgent = userAgent.indexOf("Mozilla/5.0 (iPad;") == 0; haha
Note You need to log in before you can comment on or make changes to this bug.