[Webkit-unassigned] [Bug 233073] New: REGRESSION: Version not included in UA

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 12 15:18:27 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233073

            Bug ID: 233073
           Summary: REGRESSION: Version not included in UA
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: iOS 15
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: teodor.atroshenko at gmail.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 444114

  --> https://bugs.webkit.org/attachment.cgi?id=444114&action=review

iPhone XR with iOS 15.2 Beta

Starting with iOS 15.1 and continuing with iOS 15.2 Beta, there are issues with Version/X in User Agent string:

- WKWebView on iOS 15.1 omits "Version" from UA
ex. Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 OptionalCustomUAString

- WKWebView on iOS 15.2 Beta omits "Version" from UA
ex. Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 OptionalCustomUAString

- Safari on iOS 15.2 Beta uses "Version/15.1" in UA
ex. Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1

Version is an integral part of Safari's UA and most, if not all, UA parser libraries don't assume that browser version is the same as iOS version, and thus report no browser version at all.
Using `bowser` (https://www.npmjs.com/package/bowser) as an example. If you load https://bowser-js.github.io/bowser-online/ in WKWebView on iOS 15.1 or 15.2 Beta, you will see that no `browser` version is parsed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211112/55ef63bf/attachment.htm>


More information about the webkit-unassigned mailing list