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
Attachments
Patch (2.62 KB, patch)
2020-06-22 13:47 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2020-06-22 13:36:57 PDT
Nikita Vasilyev
Comment 2 2020-06-22 13:47:17 PDT
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.