4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
9 gc
= window
.gc
|| function()
11 if (window
.GCController
)
12 return GCController
.collect();
14 for (var i
= 0; i
< 10000; ++i
)
15 var s
= new String("AAAA");
18 window
.onload = function()
20 element
= document
.body
.appendChild(document
.createElementNS("foo", "bar"));
22 element
.setAttribute("id", "bar");
23 document
.body
.removeChild(element
);
28 setTimeout(finishTest
, 0);
31 finishTest = function()
33 document
.getElementById("bar");
35 if (window
.testRunner
)
36 testRunner
.notifyDone();