Update capabilities.spec.ts

Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-05-15 11:01:01 +02:00 committed by GitHub
parent 5e0dade5ee
commit 93c8ba5220
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,8 @@ it('SharedArrayBuffer should work @smoke', async function({ contextFactory, http
expect(await page.evaluate(() => typeof SharedArrayBuffer)).toBe('function'); expect(await page.evaluate(() => typeof SharedArrayBuffer)).toBe('function');
}); });
it('Web Assembly should work @smoke', async function({ page, server }) { it('Web Assembly should work @smoke', async ({ page, server, browserName, platform }) => {
it.fixme(browserName === 'webkit' && platform === 'win32', 'Windows JIT is disabled: https://bugs.webkit.org/show_bug.cgi?id=273854');
await page.goto(server.PREFIX + '/wasm/table2.html'); await page.goto(server.PREFIX + '/wasm/table2.html');
expect(await page.evaluate('loadTable()')).toBe('42, 83'); expect(await page.evaluate('loadTable()')).toBe('42, 83');
}); });