<svg xmlns="http://www.w3.org/2000/svg"> | |
<font> | |
<font-face id="f" font-family="SVGArial"/> | |
<stop id="s"/> | |
<script> | |
if (!window.testRunner) | |
alert("This test requires GCController") | |
else { | |
var range = document.createRange(); | |
range.selectNodeContents( document.getElementById('s') ); | |
GCController.collect(); | |
range.surroundContents( document.getElementById('f') ); | |
GCController.collect(); | |
testRunner.dumpAsText(); | |
alert("PASS. WebKit didn't crash."); | |
} | |
</script> |