Tests follow invisible-core's gfx contract: no webgl.force-enabled, gpu.device not pinnable

The core dropped webgl.force-enabled (the engine answers the blocklist from
zoom.stealth.gfx.feature_status, WEBGL2 = 1) and its GPU profile gained
`device`, the real GPU drawn from the renderer's bucket. The renderer is the
knob; the device follows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
feder-crandClaude Opus 5.5 committed 2026-11-02 13:39:54 +07:00
1 parent f03164e7e0
commit c6dca80401
2 files changed
+11 -1

No files matched your search

+6 -1
View File
@@ -335,7 +335,12 @@ def test_linux_xvfb_workarounds_with_socks_proxy(monkeypatch):
assert pw_proxy is not None # a single path, here too
# Xvfb workarounds present.
assert prefs["gfx.webrender.all"] is False
assert prefs["webgl.force-enabled"] is True
# WebGL2 is not the host adapter's decision: since invisible-core 9d74a77 the
# engine answers the blocklist from the declared outcomes, and
# webgl.force-enabled left the core.
assert "webgl.force-enabled" not in prefs
status = dict(e.split("|")[:2] for e in prefs["zoom.stealth.gfx.feature_status"].split(","))
assert status["WEBGL2"] == "1"
# Windows-only sandbox key absent on Linux even with virtual_display=True.
assert "security.sandbox.gpu.level" not in prefs
# GPU renderer is spoofed from the validated WebGL persona (a coherent Windows
+5
View File
@@ -57,6 +57,11 @@ _NOT_PINNABLE_FIELDS = {
"screen.avail_height": ("Same as avail_width, and removing it also removed "
"the special case that let a pin beat the taskbar "
"re-derivation: there is no pin left to lose to."),
"gpu.device": ("The real Windows GPU behind the renderer, drawn by the core "
"from the renderer's bucket (invisible-core, 2026-11-01). Only "
"a device of that bucket is coherent with the renderer, so "
"the knob is the renderer: pin gpu.renderer and the device "
"follows it."),
}
#: Profile GROUPS that exist but are deliberately not pinnable, with the reason.