Bug 1890793: Assert CallArgs::newTarget is not gray. r=spidermonkey-reviewers,sfink...
[gecko.git] / dom / smil / crashtests / 641388-1.html
blob25c941dedb32b08339f730d0eea8e6b7dc97e3b6
1 <script>
3 var ar = new Array(100000);
5 function fill() {
6 var s = unescape("%ubeef%udead%udead%udead%u0000%u0000%u3030%u3030");
7 while(s.length < 0x40000) {
8 for(var x=0; x<100; x++) ar.push(s+s);
9 s+=s;
14 function gc() {
15 var evt = document.createEvent("Events");
16 evt.initEvent("please-gc", true, false);
17 document.dispatchEvent(evt);
18 fill();
22 gc();
23 function start(){
24 tmp = document.createElement('iframe');
25 tmp.src="data:image/svg+xml,"+escape("<?xml version='1.0' standalone='no'?><!DOCTYPE svg><svg xmlns='http://www.w3.org/2000/svg'><defs id='element1'></defs><g id='element5'></g></svg>");
26 tmp.id = 'ifr23282';
27 try{document.getElementById('store_div').appendChild(tmp);}catch(e){}
28 window.setTimeout('startrly()', 100);
29 } function startrly() {
30 try{o6=document.createComment(null);}catch(e){}
31 try{o9=document.getElementById('ifr23282').contentDocument.documentElement;;}catch(e){}
32 try{o13=document.getElementById('ifr23282').contentDocument.getElementById('element1');;}catch(e){}
33 try{o15=document.getElementById('ifr23282').contentDocument.getElementById('element5');;}catch(e){}
34 try{tmp = document.createElement('iframe');}catch(e){}
35 try{tmp.id = 'ifr6690';}catch(e){}
36 try{o6.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
37 window.setTimeout('start_dataiframe0()',100);
38 } function start_dataiframe0(){
39 try{o19=o6.ownerDocument.getElementById('ifr6690').contentDocument.documentElement;;}catch(e){}
40 try{o24=document.createElementNS('http://www.w3.org/1998/Math/MathML','annotation-xml');;}catch(e){}
41 try{o35=document.createElementNS('http://www.w3.org/1998/Math/MathML','emptyset');;}catch(e){}
42 try{o40=o19.cloneNode(false);;}catch(e){}
43 try{o19.appendChild(o13);}catch(e){}
44 try{o19.appendChild(o15);}catch(e){}
45 try{o24.appendChild(o40);}catch(e){}
46 try{tmp = document.createElement('iframe');}catch(e){}
47 tmp.src="data:text/html,<article%20id='element1'></article><command%20id='element3'></command>";
48 try{tmp.id = 'ifr17516';}catch(e){}
49 try{o13.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
50 window.setTimeout('start_dataiframe4()',100);
51 } function start_dataiframe4(){
52 try{o62=o13.ownerDocument.getElementById('ifr17516').contentDocument.getElementById('element1');;}catch(e){}
53 try{tmp.id = 'ifr2522';}catch(e){}
54 try{o101=o15.ownerDocument.getElementById('ifr2522').contentDocument.getElementById('element3');;}catch(e){}
55 try{o101.appendChild(o24);}catch(e){}
56 try{o112=document.createElementNS('http://www.w3.org/1999/xhtml', 'script');;}catch(e){}
57 try{o124=document.createElementNS('http://www.w3.org/1998/Math/MathML','root');;}catch(e){}
58 try{o125=document.createElementNS('http://www.w3.org/2000/svg','font-face');;}catch(e){}
59 gc()
60 try{o150=o40;}catch(e){}
61 try{tmp.id = 'ifr44501';}catch(e){}
62 try{o124.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
63 window.setTimeout('start_dataiframe7()',100);
64 } function start_dataiframe7(){
65 try{o152=o124.ownerDocument.getElementById('ifr44501').contentDocument.documentElement;;}catch(e){}
66 try{tmp = document.createElement('iframe');}catch(e){}
67 try{tmp.src="data:text/html,<div%20id='element1'></div>";}catch(e){}
68 try{tmp.id = 'ifr55543';}catch(e){}
69 try{o125.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
70 window.setTimeout('start_dataiframe10()',100);
71 } function start_dataiframe10(){
72 try{o198=o125.ownerDocument.getElementById('ifr55543').contentDocument.getElementById('element1');;}catch(e){}
73 try{o152.appendChild(o101);}catch(e){}
74 try{o152.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
75 window.setTimeout('start_dataiframe17()',100);
76 } function start_dataiframe17(){
77 try{o286=o152.ownerDocument.getElementById('ifr55543').contentDocument.documentElement;;}catch(e){}
78 try{o288=o152.ownerDocument.getElementById('ifr55543').contentDocument.getElementById('element1');;}catch(e){}
79 try{o349=document.createElementNS('http://www.w3.org/2000/svg','animate');;}catch(e){}
80 try{o150.appendChild(o349);}catch(e){}
81 try{o288.appendChild(o150);}catch(e){}
82 try{o198.appendChild(o349);}catch(e){}
83 window.setTimeout('start_dataiframe24()',100);
84 } function start_dataiframe24(){
85 try{o286.appendChild(o9);}catch(e){}
86 try{o62.appendChild(o152);}catch(e){}
87 try{o112.appendChild(o286);}catch(e){}
88 try{o534=o35.cloneNode(false);;}catch(e){}
89 gc();
90 o35 = null;
91 gc();
92 window.setTimeout("fill()",300);
94 </script>
95 <body onload="start()">
96 <div id="store_div"></div>
97 </body>