[gpu] Fix line break in WebGPU error message

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Behdad EsfahbodandClaude Opus 4.6 committed 2026-03-29 15:18:18 -06:00
1 parent 10f18a652f
commit d35076bb28
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -717,8 +717,7 @@ on_adapter (WGPURequestAdapterStatus status,
EM_ASM ({
var el = document.getElementById ('loading');
if (el) {
var html = 'WebGPU adapter not available.<br><br>' +
'See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
var html = 'WebGPU adapter not available.<br><br>See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
'style="color:#88f">browser support</a>.';
if (navigator.userAgent.indexOf ('Linux') !== -1 &&
navigator.userAgent.indexOf ('Chrome') !== -1)
+1 -2
View File
@@ -113,8 +113,7 @@ space: animate · b: dark mode · g: gamma · r: reset · =/-: zoom</span>
/* Early WebGPU availability check */
if (isWebGPU && !navigator.gpu) {
var el = document.getElementById('loading');
var html = 'WebGPU not available in this browser.<br><br>' +
'See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
var html = 'WebGPU not available in this browser.<br><br>See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
'style="color:#88f">browser support</a>.';
if (navigator.userAgent.indexOf('Linux') !== -1 &&
navigator.userAgent.indexOf('Chrome') !== -1)