summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1744172.html
blob: 0fd6313bba5e1f19f97ede078cc05f1a5d5ee5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>

document.addEventListener('DOMContentLoaded', () => {
  const gl = document.createElement('canvas').getContext('webgl');
  const a = gl.getExtension('EXT_disjoint_timer_query');
  const b = a.createQueryEXT();
  a.queryCounterEXT(b, a.TIMESTAMP_EXT);
  a.deleteQueryEXT(b);
});

</script>
</head>
</html>