Bug 228750 - fast/dom/navigator-iOS-userAgent.html fails on iPad because the platform is not "iPhone" or "iPad"
Summary: fast/dom/navigator-iOS-userAgent.html fails on iPad because the platform is n...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-03 12:51 PDT by Tim Horton
Modified: 2021-08-03 20:25 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.76 KB, patch)
2021-08-03 12:52 PDT, Tim Horton
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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