Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1458)

Side by Side Diff: LayoutTests/svg/custom/animate-reference-crash.html

Issue 10762005: Merge 121491 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/custom/animate-reference-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- Test for WK90042 - Passes if there is no crash and "PASS" is displayed. --> 2 <!-- Test for WK90042 - Passes if there is no crash and "PASS" is displayed. -->
3 <html> 3 <html>
4 <body> 4 <body>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 8
9 var textElement = document.createElementNS("http://www.w3.org/2000/svg", "text") ; 9 var textElement = document.createElementNS("http://www.w3.org/2000/svg", "text") ;
10 document.documentElement.appendChild(textElement); 10 document.documentElement.appendChild(textElement);
11 var aElement = document.createElementNS("http://www.w3.org/2000/svg", "a"); 11 var aElement = document.createElementNS("http://www.w3.org/2000/svg", "a");
12 var animateElement = document.createElementNS("http://www.w3.org/2000/svg", "ani mate"); 12 var animateElement = document.createElementNS("http://www.w3.org/2000/svg", "ani mate");
13 aElement.appendChild(animateElement); 13 aElement.appendChild(animateElement);
14 document.implementation.createDocument("", "", null).adoptNode(aElement); 14 document.implementation.createDocument("", "", null).adoptNode(aElement);
15 for (something in animateElement) 15 for (something in animateElement)
16 animateElement[something]; 16 animateElement[something];
17 textElement.appendChild(animateElement); 17 textElement.appendChild(animateElement);
18 textElement.parentNode.removeChild(textElement); 18 textElement.parentNode.removeChild(textElement);
19 19
20 // Not crashing at this point means we PASS. 20 // Not crashing at this point means we PASS.
21 document.body.innerHTML = "PASS"; 21 document.body.innerHTML = "PASS";
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/animate-reference-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698