Files
archived-camoufox/python/tests
Jake WriterandClaude Opus 5.5 55fb795ba4 Always render at the identity's devicePixelRatio
Replace the display_scale option with the one behaviour: the browser renders
at the final config's window.devicePixelRatio (layout.css.devPixelsPerPx), so
(resolution) and the CSS geometry agree with it, whether the identity was
drawn, a preset or supplied. A pref the caller passes still wins. The fpgen
draw's ratio is no longer read, which gave a supplied 2.5 identity no scale
or a scale of 2.

Headful on a real monitor, the display clamp divides by the scale, and a
window that still needs more pixels than the monitor has raises a ValueError
saying so. The monitor is only known in pixels at scale 1 on Linux, so the
scale is applied to the bound there.

New guard: display-scale-resolution (spoofing), which fails on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:46:48 -06:00
..
2026-10-06 19:10:22 -06:00
2026-10-19 17:08:56 +00:00