WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
245213
navigator.appVersion returns version with comma i.e., 15.6,2 instead of 15.6.2 in iOS 15.7
https://bugs.webkit.org/show_bug.cgi?id=245213
Summary
navigator.appVersion returns version with comma i.e., 15.6,2 instead of 15.6....
akchenna
Reported
2022-09-15 03:12:36 PDT
Hello! Our team has observed that in the recent update of iOS, i.e., iOS 15.7, when trying to access the browser version through navigator API i.e, const appVersion = navigator.appVersion useragent string returned contains a comma in its version. The above code snippet returns the following string "5.0 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6,2 Mobile/15E148 Safari/604.1" As can be observed, 15.6,2 has a comma in it instead of a dot. Is this an expected output of navigator.appVersion ? We have tested the same code snippet in the older version, and we got the version as 15.6.1. And there has been same cases in iPadOS 15.7 For reference:
https://github.com/faisalman/ua-parser-js/issues/594
Let me know if there are any details required. Thanks in advance
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-15 18:41:01 PDT
<
rdar://problem/100005241
>
Alexey Proskuryakov
Comment 2
2022-09-16 09:38:07 PDT
Thank you for the report! This is Safari version, not WebKit, so this will be tracked by Apple internally.
Sam Sneddon [:gsnedders]
Comment 3
2022-09-20 17:04:19 PDT
***
Bug 245360
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug