mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1861736 - crashtest r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D192407
This commit is contained in:
parent
2108f8bcb5
commit
6c86f21a8b
17
dom/svg/crashtests/1861736.html
Normal file
17
dom/svg/crashtests/1861736.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user