Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / dom / svg / crashtests / 1282985-1.svg
blobe0d838917b2c49254f5fea393e182939efe078b0
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <script>
3 <![CDATA[
5 function boom() {
6 var g = document.createElementNS("http://www.w3.org/2000/svg", "g");
7 g.setAttribute("id", "g");
8 var iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
9 g.appendChild(iframe);
10 document.documentElement.appendChild(g);
11 var use = document.createElementNS("http://www.w3.org/2000/svg", "use");
12 use.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "#g");
13 document.documentElement.appendChild(use);
14 setTimeout(function() {
15 setTimeout(function() {
16 g.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "video"));
17 }, 3);
18 }, 3);
20 window.addEventListener("load", boom, false);
22 ]]>
23 </script>
24 </svg>