fix eslint for test/webgl.js

This commit is contained in:
Ralf Vogler 2025-06-05 18:21:53 +02:00
parent 90b3a93424
commit eaadf5bc2f

View file

@ -1,5 +1,5 @@
import { chromium } from 'patchright';
import { handleSIGINT, prompt } from '../src/util.js';
import { handleSIGINT } from '../src/util.js';
import { cfg } from '../src/config.js';
const context = await chromium.launchPersistentContext(cfg.dir.browser, {
@ -21,7 +21,7 @@ await page.goto('https://get.webgl.org/');
console.log(await page.locator('h1').innerText());
await page.goto('https://webglreport.com/?v=2');
console.log(await page.locator('tr:has-text("Unmasked Renderer")').innerText());
console.log('Waiting. You can check chrome://gpu as well via noVNC. Press ctrl-c to quit...')
console.log('Waiting. You can check chrome://gpu as well via noVNC. Press ctrl-c to quit...');
// without --ignore-gpu-blocklist: OpenGL Disabled, WebGL: Software only, hardware acceleration unavailable.
// Unmasked Renderer: ANGLE (Mesa, llvmpipe (LLVM 15.0.7 128 bits), OpenGL 4.5)
// with --ignore-gpu-blocklist: OpenGL Enabled, WebGL: Hardware accelerated