gecko/content/smil/crashtests/641388-2.html
2013-05-18 18:38:34 +00:00

80 lines
3.5 KiB
HTML

<script>
function gc() {
var evt = document.createEvent("Events");
evt.initEvent("please-gc", true, false);
document.dispatchEvent(evt);
}
var ar =new Array(100000);
function fill() {
var s = unescape("%u0000%u0000%u3030%u3030");
while(s.length < 0x40000) {
for(var x=0; x<100; x++) ar.push(s+s);
s+=s;
}
}
function start(){
tmp = document.createElement('iframe'); 'ifr16727';
document.documentElement.appendChild(tmp);
window.setTimeout('start_dataiframe0()',100);
} function start_dataiframe0(){
o20=document.createElement('iframe');
tmp.id = 'ifr4446';;
o68=o20;
o101=document.getElementById('ifr4446').contentDocument.createElement('thead');;
tmp.src="data:text/html," + escape("<html id='element0'><noscript id='element1'></html>");
tmp.id = 'ifr49879';
window.setTimeout('start_dataiframe6()',100);
} function start_dataiframe6(){
o104=document.getElementById('ifr49879').contentDocument.getElementById('element0');;
o105=document.getElementById('ifr49879').contentDocument.getElementById('element1');;
o120=document.getElementById('ifr49879').contentDocument.createElement('figure');;
o105.appendChild(o120);
o122=o105.lastElementChild;
o140=document.getElementById('ifr49879').contentDocument.createElement('style');;
o141=document.getElementById('ifr49879').contentDocument.createElementNS('http://www.w3.org/2000/svg','animate');;
o151=o141.cloneNode(true);;
tmp = document.createElement('iframe');
tmp.src='data:text/html,%3Cform%20style%3B%27%20id%3D%27element3%27%3E%20%3Caside%20style%20id%3D%27element4%27%%3E';
tmp.id = 'ifr13645';
document.documentElement.appendChild(tmp);
window.setTimeout('start_dataiframe8()',100);
} function start_dataiframe8(){
o154=document.getElementById('ifr13645').contentDocument.documentElement;;
o158=document.getElementById('ifr13645').contentDocument.getElementById('element3');;
o159=document.getElementById('ifr13645').contentDocument.getElementById('element4');;
tmp.id = 'ifr17164';
o120.ownerDocument.documentElement.appendChild(tmp);
o171=o120.ownerDocument.getElementById('ifr17164').contentDocument.documentElement;;
tmp = o158.ownerDocument.createElement('iframe');
o101.appendChild(o151);
o122.appendChild(o154);
o68.appendChild(o171);
o179=document.createElement('tbody');;
o154.addEventListener('DOMNodeRemoved',function (event) { gc(); },false);
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';
tmp.id = 'ifr35960';
o154.ownerDocument.documentElement.appendChild(tmp);
window.setTimeout('start_dataiframe13()',100);
} function start_dataiframe13(){
o217=o154.ownerDocument.getElementById('ifr35960').contentDocument.documentElement;;
o218=o154.ownerDocument.getElementById('ifr35960').contentDocument.getElementById('element0');;
o223=o154.ownerDocument.getElementById('ifr35960').contentDocument.getElementById('element5');;
o223.appendChild(o101);
o218.appendChild(o140);
o140.appendChild(o151);
o104.appendChild(o179);
o230=o120.ownerDocument.getElementById('ifr17164').contentDocument.createElementNS('http://www.w3.org/2000/svg','svg');;
window.setTimeout('start_dataiframe14()',100);
} function start_dataiframe14(){
gc();fill();
o140.appendChild(o230);
o171.appendChild(o104);
o159.appendChild(o217);
o158.appendChild(o218);
}
window.setTimeout("start()",100);
</script>