Closed Bug 1841215 Opened 11 months ago Closed 11 months ago

Hard code UA string's macOS version as 10.15

Categories

(Core :: Networking: HTTP, task, P3)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox114 --- wontfix
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Firefox 115 is the last version to support macOS versions < 10.15 (bug 1836375). Firefox (like Safari and Chrome) already caps the UA string's macOS version at 10.15 to avoid webcompat breakage from sites not expecting macOS versions >= 11.0 (bug 1679929).

Since the UA string's macOS version will no longer be < 10.15 or > 10.15, we can now hard code the UA string's macOS version as 10.15.

No longer blocks: 1836375, 1679929
Depends on: 1836375, 1679929

Firefox 115 is the last version to support macOS versions < 10.15 (bug 1836375). Firefox (like Safari and Chrome) already caps the UA string's macOS version at 10.15 to avoid webcompat breakage from sites not expecting macOS versions >= 11.0 (bug 1679929).

Since the UA string's macOS version will no longer be < 10.15 or > 10.15, we can now hard code the UA string's macOS version as 10.15.

Whiteboard: [necko-triaged]

(In reply to Masatoshi Kimura [:emk] from comment #2)

I was told to hold off landing such patches (see bug 1836875 and bug 1836274). Is it ready now? I consider hard coding Windows UA strings (no bugs are filed yet).

I originally wrote this patch as part of a "UA reduction" proposal to reduce UA fingerprinting, like Chrome's UA reduction proposal: https://www.chromium.org/updates/ua-reduction/

When I learned that macOS 10.12 - 10.14 users would be moved to ESR 115 (bug 1836375) and I saw the Windows 7-8.1 removals landing (bug 1594270), I submitted this patch for review.

I have a patch to hard code the Windows UA's versions (and re-enable the 32-bit Windows UA tests). I'll submit it soon.

Pushed by cpeterson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba73a7622f63
Hard code UA string's macOS version as 10.15. r=necko-reviewers,jesup
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
See Also: → 1841425
Blocks: 1836375
No longer depends on: 1836375
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: