layout/svg/crashtests/310638.svg

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <svg xmlns="http://www.w3.org/2000/svg"><div xmlns='http://www.w3.org/1999/xhtml' id="div1">
     2 <div id="div2">bar</div>
     3 </div>
     4 <script><![CDATA[
     6 function init()
     7 {
     8   var div2 = document.getElementById("div2");
     9   var div1 = document.getElementById("div1");
    10   var docElt = document.documentElement;
    11   var titleText = document.createTextNode("foo baz");
    13   docElt.appendChild(div2);
    14   div2.appendChild(titleText);
    16   function second () 
    17   {
    18     div2.appendChild(div1);
    19     removeNode(titleText);
    20     removeNode(div2);
    21   }
    23   setTimeout(second, 0);
    24 }
    27 function removeNode(q1) { q1.parentNode.removeChild(q1); }
    30 setTimeout(init, 0);
    33 ]]></script>
    36 </svg>

mercurial