2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <svg id=
"svgRoot" xmlns:
xlink=
"http://www.w3.org/1999/xlink" xmlns=
"http://www.w3.org/2000/svg">
5 <image height=
"410" id=
"svgImage" width=
"503" x=
"0" y=
"0" xlink:
href=
"resources/green-checker.png"/>
7 if (window
.testRunner
) {
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
13 if (window
.GCController
)
14 GCController
.collect();
19 svgImage
= document
.getElementById("svgImage");
20 docElement
= document
.getElementById("svgRoot");
21 newTextNode
= document
.createTextNode("\x7f Test Passes");
22 setTimeout("crash()", 0);
25 svgImage
.attributes
[5].value
= "no-image";
26 svgImage
.parentNode
.removeChild(svgImage
);
29 docElement
.appendChild(newTextNode
);
30 if (window
.testRunner
) {
31 document
.getElementById("body").innerHTML
= "Test Passes when there is no crash";
32 testRunner
.notifyDone();