dom/smil/crashtests/588287-1.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 <?xml version="1.0"?>
     2 <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
     3 <script>
     5 function boom()
     6 {
     7   var animate = document.createElementNS("http://www.w3.org/2000/svg", "animate");
     8   animate.setAttributeNS(null, "begin", "0.5s");
     9   document.documentElement.appendChild(animate);
    11   setTimeout(function() {
    12     var g = document.createElement("g");
    13     var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
    14     g.appendChild(svg);
    15     document.documentElement.appendChild(g);
    16     svg.appendChild(animate);
    17     document.documentElement.removeAttribute("class");
    18   }, 400);
    19 }
    21 window.addEventListener("load", function() { setTimeout(boom, 200) }, false);
    23 </script>
    24 </svg>

mercurial