Open Bug 1642416 Opened 4 years ago Updated 4 years ago

Consider not using `mReferrerInfo->Equals` in gfxFontFaceSrc::operator==

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

https://searchfox.org/mozilla-central/rev/8ccea36c4fb09412609fb738c722830d7098602b/gfx/thebes/gfxUserFontSet.h#88 causes font entries not to match across documents, it should probably just check for referrer policy, if at all... Though it seems we only do it on a per-document basis.

We need to be careful not to introduce new privacy leaks here by enabling a page to infer things about the user's previous browsing history (by detecting which fonts are already in the cache). I don't recall the details of this offhand, just noting it as something to be aware of.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.