4 Test that target conditions are correctly removed on document destruction.
<br/>
5 This test passes if it does not crash
<br/>
6 <svg version=
"1.1" xmlns=
"http://www.w3.org/2000/svg" width=
"100" height=
"100">
7 <path id=
"path"></path>
8 <use xlink:
href=
"#path">
9 <animateMotion begin=
"click"></animateMotion>
12 <script type=
"text/javascript">
13 if (window
.testRunner
)
14 testRunner
.waitUntilDone();
16 window
.setTimeout(function(){
17 if (location
.hash
!= '#5') {
18 if (window
.GCController
)
19 window
.GCController
.collect();
22 if (location
.hash
== '')
25 location
.hash
= "#" + (parseInt(location
.hash
.slice(1)) + 1).toString();
28 document
.write('PASS: Test did not crash.');
29 if (window
.testRunner
) {
30 testRunner
.dumpAsText();
31 testRunner
.notifyDone();