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

Side by Side Diff: LayoutTests/svg/custom/elementTimeControl-nan-crash.html

Issue 11340016: Merge 132724 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 1 month 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/elementTimeControl-nan-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 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 function crash() { 5 function crash() {
6 var animate = document.getElementById('animate'); 6 var animate = document.getElementById('animate');
7 var svg = document.getElementById('svg'); 7 var svg = document.getElementById('svg');
8 animate.endElementAt(NaN); 8 animate.endElementAt(NaN);
9 animate.beginElementAt(NaN); 9 animate.beginElementAt(NaN);
10 svg.setCurrentTime(2); 10 svg.setCurrentTime(2);
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 } 13 }
14 </script> 14 </script>
15 </head> 15 </head>
16 <body onload="crash()"> 16 <body onload="crash()">
17 Test for WK100322: ElementTimeControl should check for invalid values. This test passes if it does not crash. 17 Test for WK100322: ElementTimeControl should check for invalid values. This test passes if it does not crash.
18 18
19 <svg id="svg" width="200" height="200"> 19 <svg id="svg" width="200" height="200">
20 <rect x="0" y="0" width="100" height="100" fill="green"> 20 <rect x="0" y="0" width="100" height="100" fill="green">
21 <animate id="animate" attributeName="x" to="200" begin="3s"/> 21 <animate id="animate" attributeName="x" to="200" begin="3s"/>
22 </rect> 22 </rect>
23 </svg> 23 </svg>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/elementTimeControl-nan-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698