dom/smil/crashtests/641388-2.html

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 <script>
     2 function gc() {
     3                 var evt = document.createEvent("Events");
     4                 evt.initEvent("please-gc", true, false);
     5                 document.dispatchEvent(evt);
     6         }
     7 var ar =new Array(100000);
     8 function fill() {
     9         var s = unescape("%u0000%u0000%u3030%u3030");
    10         while(s.length < 0x40000) {
    11                 for(var x=0; x<100; x++) ar.push(s+s);
    12                 s+=s;
    13         }
    14 }
    17 function start(){
    18 tmp = document.createElement('iframe'); 'ifr16727';
    19 document.documentElement.appendChild(tmp);
    20 window.setTimeout('start_dataiframe0()',100);
    21 } function start_dataiframe0(){
    22 o20=document.createElement('iframe');
    23 tmp.id = 'ifr4446';;
    24 o68=o20;
    25 o101=document.getElementById('ifr4446').contentDocument.createElement('thead');;
    26 tmp.src="data:text/html," + escape("<html id='element0'><noscript id='element1'></html>");
    27 tmp.id = 'ifr49879';
    28 window.setTimeout('start_dataiframe6()',100);
    29 } function start_dataiframe6(){
    30 o104=document.getElementById('ifr49879').contentDocument.getElementById('element0');;
    31 o105=document.getElementById('ifr49879').contentDocument.getElementById('element1');;
    32 o120=document.getElementById('ifr49879').contentDocument.createElement('figure');;
    33 o105.appendChild(o120);
    34 o122=o105.lastElementChild;
    35 o140=document.getElementById('ifr49879').contentDocument.createElement('style');;
    36 o141=document.getElementById('ifr49879').contentDocument.createElementNS('http://www.w3.org/2000/svg','animate');;
    37 o151=o141.cloneNode(true);;
    38 tmp = document.createElement('iframe');
    39 tmp.src='data:text/html,%3Cform%20style%3B%27%20id%3D%27element3%27%3E%20%3Caside%20style%20id%3D%27element4%27%%3E';
    40 tmp.id = 'ifr13645';
    41 document.documentElement.appendChild(tmp);
    42 window.setTimeout('start_dataiframe8()',100);
    43 } function start_dataiframe8(){
    44 o154=document.getElementById('ifr13645').contentDocument.documentElement;;
    45 o158=document.getElementById('ifr13645').contentDocument.getElementById('element3');;
    46 o159=document.getElementById('ifr13645').contentDocument.getElementById('element4');;
    47 tmp.id = 'ifr17164';
    48 o120.ownerDocument.documentElement.appendChild(tmp);
    49 o171=o120.ownerDocument.getElementById('ifr17164').contentDocument.documentElement;;
    50 tmp = o158.ownerDocument.createElement('iframe');
    51 o101.appendChild(o151);
    52 o122.appendChild(o154);
    53 o68.appendChild(o171);
    54 o179=document.createElement('tbody');;
    55 o154.addEventListener('DOMNodeRemoved',function (event) { gc(); },false);
    56 tmp.src='data:text/html,%3Cs%27%20id%3D%27element0%27element4%27%3E%3Cs%20id%3D%27element5%27%20style%3D%27text-indent%3A%20-1%25%3Bmin-w%2C%20rgba%28255%2C0%2C0%2C0%29%20strict%3Bcolumn-count7element9%27%3E%s%3E';
    57 tmp.id = 'ifr35960';
    58 o154.ownerDocument.documentElement.appendChild(tmp);
    59 window.setTimeout('start_dataiframe13()',100);
    60 } function start_dataiframe13(){
    61 o217=o154.ownerDocument.getElementById('ifr35960').contentDocument.documentElement;;
    62 o218=o154.ownerDocument.getElementById('ifr35960').contentDocument.getElementById('element0');;
    63 o223=o154.ownerDocument.getElementById('ifr35960').contentDocument.getElementById('element5');;
    64 o223.appendChild(o101);
    65 o218.appendChild(o140);
    66 o140.appendChild(o151);
    67 o104.appendChild(o179);
    68 o230=o120.ownerDocument.getElementById('ifr17164').contentDocument.createElementNS('http://www.w3.org/2000/svg','svg');;
    69 window.setTimeout('start_dataiframe14()',100);
    70 } function start_dataiframe14(){
    71 gc();fill();
    72 o140.appendChild(o230);
    73 o171.appendChild(o104);
    74 o159.appendChild(o217);
    75 o158.appendChild(o218);
    76 }
    77 window.setTimeout("start()",100);
    78 </script>

mercurial