Skip to content

Commit

Permalink
Update the user agent used in iOS 8.
Browse files Browse the repository at this point in the history
BUG=391846
TEST=Go to whatsmyua.com on an iOS 8 device and verify that the
AppleWebKit and Safari versions in the user agent are the same in
MobileSafari and Chrome for iOS.

Review URL: https://codereview.chromium.org/558163003

Cr-Commit-Position: refs/heads/master@{#294168}
  • Loading branch information
lliabraa authored and Commit bot committed Sep 10, 2014
1 parent 87478da commit 918870f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/web/public/user_agent.mm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
// Safari version can't be, so a lookup table is used instead (for both, since
// the reported versions should stay in sync).
static const OSVersionMap version_map[] = {
{ 8, 0, { "600.1.4", "600.1.4" } },
{ 7, 1, { "9537.53", "537.51.2" } },
{ 7, 0, { "9537.53", "537.51.1" } },
// 6.1 has the same values as 6.0.
Expand Down

0 comments on commit 918870f

Please sign in to comment.