summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1857986.html
blob: 0cdbde96402945ada2bd06e9f31f781c138f4f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<script>
  window.addEventListener('load', async () => {
    const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
    const filter = document.createElementNS('http://www.w3.org/2000/svg', 'filter')
    filter.setAttribute('id', 'id_14')
    const feColorMatrix = document.createElementNS('http://www.w3.org/2000/svg', 'feColorMatrix')
    feColorMatrix.setAttribute('width', '-1938067758ch')
    filter.appendChild(feColorMatrix)
    svg.appendChild(filter)
    document.documentElement.appendChild(svg)
    const canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas')
    const context = canvas.getContext('2d')
    context.filter = 'url(#id_14) url(#id_14) contrast(1491560509%) saturate(859756593%) url(#id_14)'
  })
</script>