Commit 70751576 authored by Peter K. Lee's avatar Peter K. Lee Committed by Commit Bot

Updates version_map for iOS 13 Safari/WebKit version numbers

- Picked up current Safari/ and AppleWebKit/ version numbers from Safari User Agent.
- Deleted version_map[] entries for iOS versions that Chrome no longer supports.

This was last updated for iOS 12 in https://chromium-review.googlesource.com/c/chromium/src/+/1102485

Bug: 1001261
Change-Id: I337b736d279c86727302e7a5828602bd8bfae787
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788504Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Commit-Queue: Peter Lee <pkl@chromium.org>
Cr-Commit-Position: refs/heads/master@{#694279}
parent f846fcc1
...@@ -44,9 +44,8 @@ const UAVersions& GetUAVersionsForCurrentOS() { ...@@ -44,9 +44,8 @@ const UAVersions& GetUAVersionsForCurrentOS() {
// Safari version can't be, so a lookup table is used instead (for both, since // Safari version can't be, so a lookup table is used instead (for both, since
// the reported versions should stay in sync). // the reported versions should stay in sync).
static const OSVersionMap version_map[] = { static const OSVersionMap version_map[] = {
{12, 0, {"605.1", "605.1.15"}}, {11, 0, {"604.1", "604.1.34"}}, {13, 0, {"604.1", "605.1.15"}},
{10, 3, {"602.1", "603.1.30"}}, {10, 0, {"602.1", "602.1.50"}}, {12, 0, {"605.1", "605.1.15"}},
{9, 0, {"601.1.46", "601.1"}},
}; };
int32_t os_major_version = 0; int32_t os_major_version = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment