layout/base/crashtests/310638-1.svg

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"><script><![CDATA[
     3 function init()
     4 {
     5   var div2 = document.getElementById("div2");
     6   var div1 = document.getElementById("div1");
     7   var docElt = document.documentElement;
     8   var titleText = document.createTextNode("foo baz");
    10   docElt.appendChild(div2);
    11   div2.appendChild(titleText);
    13   function second () 
    14   {
    15     div2.appendChild(div1);
    16     removeNode(titleText);
    17     removeNode(div2);
    18     document.documentElement.removeAttribute("class");
    19   }
    21   setTimeout(second, 30);
    22 }
    25 function removeNode(q1) { q1.parentNode.removeChild(q1); }
    28 setTimeout(init, 30);
    31 ]]></script>
    33 <div xmlns='http://www.w3.org/1999/xhtml' id="div1">
    35 <div id="div2">bar</div>
    36 </div>
    38 </svg>

mercurial