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-

Description Tim Horton 2021-08-03 12:51:04 PDT
fast/dom/navigator-iOS-userAgent.html fails on iPad because the platform is not "iPhone" or "iPad"
Comment 1 Tim Horton 2021-08-03 12:52:10 PDT
Created attachment 434855 [details]
Patch
Comment 2 EWS 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].
Comment 3 Radar WebKit Bug Importer 2021-08-03 13:30:31 PDT
<rdar://problem/81477649>
Comment 4 Alexey Proskuryakov 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