3 svgNS
= "http://www.w3.org/2000/svg";
5 gc
= window
.gc
|| function()
7 if (window
.GCController
)
8 GCController
.collect();
10 for (var i
= 0; i
< 10000; ++i
)
11 var s
= new String("AAAA");
14 window
.onload = function()
16 if (window
.testRunner
) {
17 testRunner
.dumpAsText();
18 testRunner
.waitUntilDone();
21 cursor
= document
.body
.appendChild(document
.createElementNS(svgNS
, "cursor"));
24 element
= document
.body
.appendChild(document
.createElementNS(svgNS
, "element"));
25 element
.style
.setProperty("cursor", "url(#cursor)");
32 fakeCursor
= document
.body
.insertBefore(document
.createElementNS(svgNS
, "cursor"), cursor
);
33 fakeCursor
.id
= "cursor";
35 element
.style
.removeProperty("cursor");
37 document
.body
.removeChild(element
);
41 setTimeout(finishTest
, 0);
46 document
.body
.removeChild(cursor
);
50 document
.body
.innerHTML
= "PASS";
51 if (window
.testRunner
)
52 testRunner
.notifyDone();