Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / smil-element-not-removed-crash.html
blobd7e3f2b65d58c3828bf5ca63853f92bd24398494
1 <html>
2 <body onload="runSMILTest()">
3 <svg>
4 <animAttributeAttrs>
5 <feImage id="test"></feImage>
6 </animAttributeAttrs>
7 <set id="set1" xlink:href="#test"></set>
8 </svg>
9 <script>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
13 gc = function() { window.GCController.collect() };
14 } else if (!window.gc)
15 gc = function(){};
17 window.onload = function() {
18 if (location.hash != "#2") {
19 if (location.hash)
20 location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
21 else
22 location.hash = "#1";
24 gc();
25 setTimeout(function(){location.reload()}, 0);
26 } else {
27 document.body.innerHTML = "PASS";
28 if (window.testRunner)
29 testRunner.notifyDone();
32 </script>
33 </body>
34 </html>