trisquel-icecat/icecat/dom/canvas/crashtests/1816140.html

17 lines
No EOL
477 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
window.addEventListener("load", async () => {
const adapter = await navigator.gpu.requestAdapter({})
const device = await adapter.requestDevice({})
const canvas = new OffscreenCanvas(184, 4266759736)
context = canvas.getContext('webgpu')
context.configure({
device: device,
format: context.getPreferredFormat(adapter),
})
})
</script>
</head>
</html>