Open Bug 1936647 Opened 2 months ago Updated 6 hours ago

Improve font fingerprinting detection

Categories

(Core :: Privacy: Anti-Tracking, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: fkilic, Assigned: fkilic)

Details

Attachments

(1 file)

Currently, our font fingerprinting detection works by detecting when there's more than 60 cache misses. This is a good method, but due to many properties of fonts (see code block 1) cache misses happen very frequently. On top of that, generic fonts, such as sans-serif, monospace etc. count towards this number as well. On rich pages with many different sized fonts, weights, icons etc. we may get false positives. This bug aims to fix this issue by checking only font family names

Code block 1:

style, weight, stretch, size, sizeAdjust, family, kerning, opticalSizing, synthesisWeight, synthesisStyle, synthesisSmallCaps, synthesisPosition, fontFeatureSettings, fontVariationSettings, languageOverride, variantAlternates, variantCaps, variantEastAsian, variantLigatures, variantNumeric, variantPosition, variantWidth, variantEmoji
Assignee: nobody → fkilic
Status: NEW → ASSIGNED
Pushed by fkilic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de74f9fffac1 Improve font fingerprinting detection. r=tjr

Thank you I'll take a look into it.

Flags: needinfo?(fkilic)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: