1 Commits
Author SHA1 Message Date
coffeegrind123andClaude 1ef6036919 Make a caller's user agent fix the drawn platform (#983)
A caller who sets only navigator.userAgent marked the whole navigator domain as theirs, so fix_navigator_arch never ran. fpgen's Linux pool holds draws whose platform is another OS's beside a Linux oscpu, and those reached the page as Win32 behind a Linux user agent.

The arch fix now stands down only when the caller set navigator.platform or navigator.oscpu themselves. The regression tests pin such a draw with a fixed fingerprint, so they fail deterministically without the fix.


(cherry picked from commit f7b091c1d1533ceae016a1ef6b85c861f8c0582c)

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 15:57:32 +00:00