When "Enhanced Tracking Protection" is Strict, the font specified in the settings is not used
Categories
(Core :: DOM: Security, defect)
Tracking
()
People
(Reporter: sarubo2016, Unassigned)
Details
Attachments
(1 file)
393.74 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
Navigator.userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0"
Firefox: Firefox Developer Edition (x64 ja), 119.0b2 (64 bit)
OS: Windows 10 Home, 22H2
- Visit
about:preferences#privacy
- Enhanced Tracking Protection: Standard -> Strict
- Visit
about:preferences#general
- Change fonts from default. ex. Default(Meiryo) -> Noto Sans CJK JP
- View simple pages such as Wikipedia( https://ja.wikipedia.org/wiki/Mozilla_Firefox ) where the font specification is "sans-serif", or uncheck "allow pages to choose their own fonts, instead of your selections above" from the font settings and view any page.
Actual results:
Arial and Meiryo are used on the page you visit.
- I confirmed that it also reproduces with a new profile on another Windows machine.
- If you specify sans-serif in userChrome.css, you are not affected by this issue.
Expected results:
The page you visit uses the font you set, such as Noto Sans CJK JP.
Reporter | ||
Comment 1•1 year ago
|
||
If you specify sans-serif in userChrome.css, you are not affected by this issue.- If you specify sans-serif in userChrome.css, UI made with userChrome.css are not affected by this issue.
Comment 2•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
|
||
This is the expected behavior with strict tracking protection. Noto Sans CJK JP is not a standard font on Windows, so if we allow it to be used for web content, sites can detect that you have a non-standard font installed and use this as a bit of "fingerprinting" information to identify and track you.
Moving this to DOM::Security, which I believe is the component responsible for anti-tracking; but I think this is working as intended, not actually a bug to be fixed.
Reporter | ||
Comment 4•1 year ago
|
||
https://www.mozilla.org/en-US/firefox/119.0beta/releasenotes/
The visibility of fonts to websites has been restricted to system fonts and language pack fonts in ETP strict mode to mitigate font fingerprinting.
After receiving the explanation, I looked at the Release Notes again and found that it had been written about this. This issue was completely my fault.
Personally, I'm not happy about not being able to freely choose the font, but I've learned that it's the correct behavior. Therefore, this issue will be closed.
Reporter | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
If you want to disable just this specific feature of tracking protection, I believe you can do this by going to about:config
and setting the privacy.fingerprintingProtection.overrides
preference to -FontVisibilityLangPack
(note the initial hyphen).
Reporter | ||
Comment 6•1 year ago
|
||
I'm glad to know this information. Thank you very much.
Description
•