Bug 1861736 - crashtest r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D192407
This commit is contained in:
Robert Longson 2024-01-02 16:25:18 +00:00
parent 2108f8bcb5
commit 6c86f21a8b
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<script>
document.addEventListener('DOMContentLoaded', 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_0')
svg.appendChild(filter)
document.documentElement.appendChild(svg)
const doc = new Document()
const canvas = document.createElement('canvas')
const context = canvas.getContext('2d')
context.filter = 'url(#id_0)'
doc.adoptNode(document.documentElement)
SpecialPowers.gc()
setTimeout('self.close()', 2000)
})
</script>

View File

@ -98,3 +98,4 @@ load 1572904.html
load 1683907.html
pref(dom.svg.pathSeg.enabled,true) load 1715387.html
load 1837487.html
load 1861736.html