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

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

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 var path = document.createElementNS("http://www.w3.org/2000/svg", "path" );
9 var seg1 = path.createSVGPathSegLinetoAbs(10, 10);
10 var seg2 = path.createSVGPathSegLinetoAbs(100, 100);
11
12 path.pathSegList.initialize(seg1);
13 path.pathSegList.initialize(seg2);
14 path.pathSegList.initialize(seg1);
15 path.pathSegList.replaceItem(seg2, 0);
16 path.pathSegList.initialize(seg1);
17 </script>
18 </body>
19 <div>PASS: Did not crash.</div>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698