blob: c084a702e97936d77c2a7d68d09bc9ba2460e091 [file] [log] [blame]
pdr@google.com451dc942012-06-29 00:13:07 +00001<!DOCTYPE HTML>
2<!-- Test for WK90042 - Passes if there is no crash and "PASS" is displayed. -->
3<html>
4<body>
5<script>
6if (window.testRunner)
7 testRunner.dumpAsText();
8
9var textElement = document.createElementNS("http://www.w3.org/2000/svg", "text");
10document.documentElement.appendChild(textElement);
11var aElement = document.createElementNS("http://www.w3.org/2000/svg", "a");
12var animateElement = document.createElementNS("http://www.w3.org/2000/svg", "animate");
13aElement.appendChild(animateElement);
14document.implementation.createDocument("", "", null).adoptNode(aElement);
15for (something in animateElement)
16 animateElement[something];
17textElement.appendChild(animateElement);
18textElement.parentNode.removeChild(textElement);
19
20// Not crashing at this point means we PASS.
21document.body.innerHTML = "PASS";
22</script>
23</body>
24</html>