WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 213490
213485
Web Inspector: detect macOS 11 Big Sur from userAgent string
https://bugs.webkit.org/show_bug.cgi?id=213485
Summary
Web Inspector: detect macOS 11 Big Sur from userAgent string
Nikita Vasilyev
Reported
2020-06-22 13:36:43 PDT
https://www.apple.com/macos/big-sur-preview/
Attachments
Patch
(2.62 KB, patch)
2020-06-22 13:47 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-06-22 13:36:57 PDT
<
rdar://problem/64606470
>
Nikita Vasilyev
Comment 2
2020-06-22 13:47:17 PDT
Created
attachment 402509
[details]
Patch
Nikita Vasilyev
Comment 3
2020-06-22 17:06:56 PDT
*** This bug has been marked as a duplicate of
bug 213490
***
Joseph Pecoraro
Comment 4
2022-02-14 16:01:05 PST
Comment on
attachment 402509
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=402509&action=review
> Source/WebInspectorUI/UserInterface/Base/Platform.js:59 > + if (baseVersion === "11") {
I think it would be safe to assume you can just check the base version for new releases and don't need a sub-switch on the sub version: if (baseVersion === "11") { WI.Platform.version.name = "big-sur"; return; } console.assert(baseVersion === "10"); …
Joseph Pecoraro
Comment 5
2022-02-14 16:01:37 PST
Oh wow never mind I just got an update on this multiple years old bug! Sorry!
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