blob: a32445249d37e3f5b93d11cb00a68ed6b4737584 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<html class="reftest-wait">
<script>
document.addEventListener('DOMContentLoaded', async () => {
cnv = document.createElement('canvas')
ctx = cnv.getContext('2d')
try {
a = await fetch('');
b = await a.arrayBuffer();
c = await self.createImageBitmap(new Blob([b]), {'premultiplyAlpha':'none'})
ctx.createPattern(c, 'repeat-x')
} finally {
document.documentElement.className = "";
}
})
</script>
</html>
|