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

Side by Side Diff: LayoutTests/svg/dom/SVGPathSegList-crash.html

Issue 12334104: Merge 143454 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 9 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/dom/SVGPathSegList-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 <body> 3 <body>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 var path = document.createElementNS("http://www.w3.org/2000/svg", "path" ); 8 var path = document.createElementNS("http://www.w3.org/2000/svg", "path" );
9 var seg1 = path.createSVGPathSegLinetoAbs(10, 10); 9 var seg1 = path.createSVGPathSegLinetoAbs(10, 10);
10 var seg2 = path.createSVGPathSegLinetoAbs(100, 100); 10 var seg2 = path.createSVGPathSegLinetoAbs(100, 100);
11 11
12 path.pathSegList.initialize(seg1); 12 path.pathSegList.initialize(seg1);
13 path.pathSegList.initialize(seg2); 13 path.pathSegList.initialize(seg2);
14 path.pathSegList.initialize(seg1); 14 path.pathSegList.initialize(seg1);
15 path.pathSegList.replaceItem(seg2, 0); 15 path.pathSegList.replaceItem(seg2, 0);
16 path.pathSegList.initialize(seg1); 16 path.pathSegList.initialize(seg1);
17 </script> 17 </script>
18 </body> 18 </body>
19 <div>PASS: Did not crash.</div> 19 <div>PASS: Did not crash.</div>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGPathSegList-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698