Files
archived-camoufox/python/tests
20916cc330 Report WebGL2's value for every parameter WebGL1 shares (#1020)
* Report WebGL2's value for every parameter WebGL1 shares

Firefox 156+ creates WebGL1 on WebGL2's GL profile, so every parameter
both contexts report is one driver value. fpgen recorded Firefox 146,
which put WebGL1 on a compatibility profile, and the launchers already
copied WebGL2's line width range over WebGL1's for that reason. Two
Linux records (GeForce GTX 480 and 980) also differ in
ALIASED_POINT_SIZE_RANGE, which CreepJS checks: it flags any mirrored
WebGL1/WebGL2 parameter that differs, except the version strings and
the line width range.

The copy now covers every shared non-string parameter, in both
launchers. A test checks every recorded device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* webgl: test every shared parameter in TypeScript; record the rule's new scope

The TypeScript test still checked only the line width range, so the
launcher's new copy of every shared parameter had no TypeScript test: the
new one walks every recorded GPU and fails on main for the Linux GTX 480
(ALIASED_POINT_SIZE_RANGE). The Python line-width test is covered by the
every-parameter one and goes. webgl-browser-owned-values-follow-firefox
now says WebGL1 takes WebGL2's value for every parameter both report, with
the GTX 480/980 records as evidence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jake Writer <jake_writer@jobharvest.com>
2026-11-10 22:17:48 +00:00
..
2026-10-06 19:10:22 -06:00