WebGPU notice suggests Chromium-based browsers, not Edge (t90)

Written by the local model (qwen3-coder-30b) in a sandboxed worktree via local-run; reviewed by Claude.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 18:41:36 -04:00
co-authored by Claude Opus 5.5
parent 5fd8110470
commit 0b624fe0b4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ for case in ['native', 'absent', 'null', 'reject', 'firefox', 'limits', 'threads
assert not caps['webgpu'] and caps['adapterInfo'] is None
notice = page.inner_text('#cap-notice')
assert 'python3 tools/serve.py' in notice and "opened from a file it can't" in notice
assert ('Firefox Nightly' in notice and 'dom.webgpu.enabled' in notice) if case == 'firefox' else 'Chrome or Edge' in notice
assert ('Firefox Nightly' in notice and 'dom.webgpu.enabled' in notice) if case == 'firefox' else 'Chromium-based browser' in notice and 'Brave' in notice and 'Edge' not in notice
if case != 'native':
assert not page.evaluate('canStartGame()')
page.evaluate('startNewWorld(424242, 512, 384)')