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
.createElement("a"));
22 element
.setAttributeNS("namespace", "id", "foo");
23 element
.setAttribute("id", "bar");
25 document
.body
.removeChild(element
);
29 setTimeout(finishTest
, 0);
32 finishTest = function()
34 document
.getElementById("bar");
36 if (window
.testRunner
)
37 testRunner
.notifyDone();