I have no idea if this is a platform specific issue, I just don't have access to anything other than MacOS to test. So please feel free to remove the label and amend the title if it's platform agnostic.
Also, I checked Firefox ESR 102.3.0 at @richard's direction and I regret to inform everyone that Firefox's chrome is the same size as stable's.
may be related to the system-ui patches (which affects chrome font, maybe sizes) @pierov except that on mac we said to use -apple-system - but not all "widgets" on mac were using that
Do we know which item causes this? And by that, I mean the items under system and widget fonts at https://arkenfox.github.io/TZP/tzp.html#fonts (yup, the proper solution is to exempt chrome)
it doesn't make sense for chrome to ask for RFP, FWIW
FWIW: Eventually it won't 1450398 as RFP would take principals into account, IIUIC 1635603.
In the past some things have been exempted on a case by case basis, e.g. pdfs used to (because at the time you couldn't exfil anything from them), not sure if it was the whole RFP or just the devicePixelRatio spoof (which caused blurring on HiDPI) but broke when pdfjs was moved from a system addon to builtin. And I remember prefers-color getting some exemptions as well for chrome theming. I guess it depends on whether you can easily get the origin or principal
When upstream is done in 1787790 we should check to see if chrome can be exempted
When LookAndFeel::GetFont is called by nsLayoutUtils::ComputeSystemFont, we have a document, so maybe we could use aDocument->IsInChromeDocShell().
That function is called also in GetSystemUIFontFamilies (which resolves system-ui; not sure chrome needs this font, since it can be indeed disabled with a pref).
Finally, it's called in nsNativeThemeGTK::GetMinimumWidgetSize, which has a few parameters. The first one gives a way to get the document.
I could try to create a second version of the patch.
The bad news is that I have to see if I can find a way to get the document with some global method, or make the patch even uglier (by adding an additional bool aRFP parameter in a few places).
lol .. "looks and feels" about elegant coding On a more serious note, do we need some engineering changes upstream? Would love to see 1787790 resolved and backported (and AFAIConcerned getComputedStyles can report the wrong properties all it likes - edit: for nonRFP)