diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /dom/svg/crashtests/1861736.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/svg/crashtests/1861736.html')
-rw-r--r-- | dom/svg/crashtests/1861736.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/svg/crashtests/1861736.html b/dom/svg/crashtests/1861736.html new file mode 100644 index 0000000000..351861fdda --- /dev/null +++ b/dom/svg/crashtests/1861736.html @@ -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> |