Commit 74a783f
committed
fix: dedup README roadmap + handle WebGL absence on headless Linux CI
README roadmap: leftover rows for M3-M6 from the M1-era table were
sitting below the current M0-M12 table. Cleaned up — only the canonical
table remains.
test_fingerprint: two integration tests assumed the
WEBGL_debug_renderer_info extension was always present. On headless
Linux CI (no GPU), that extension isn't exposed, so reading
ext.UNMASKED_RENDERER_WEBGL threw "Uncaught" via Runtime.evaluate.
Both tests now use a shared WEBGL_RENDERER_JS probe that:
- returns null if WebGL itself isn't available
- falls back to gl.getParameter(gl.RENDERER) when the debug-info
extension is missing (our webgl.js stealth hook already returns the
spoofed renderer for the RENDERER constant 7937 alongside the
UNMASKED_RENDERER_WEBGL constant 37446, so the override assertion
still validates the right behaviour)
test_preset_overrides_webgl_renderer now pytest.skip()s if WebGL is
entirely unavailable. test_no_fingerprint_keeps_default_behavior tolerates
a null renderer in that case.1 parent 8ec7698 commit 74a783f
2 files changed
Lines changed: 22 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 138 | | |
143 | 139 | | |
144 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
11 | 24 | | |
12 | 25 | | |
13 | 26 | | |
| |||
93 | 106 | | |
94 | 107 | | |
95 | 108 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
| |||
137 | 147 | | |
138 | 148 | | |
139 | 149 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
0 commit comments