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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/svgtransformlist-empty-consolidate-and-initialize-crash.html

Issue 2681803004: SVGTransformList.consolidate() should return null on an empty list (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <svg>
3 <rect width="100" height="100"/>
4 </svg>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 var transform = document.querySelector('rect').transform;
10 var value = transform.baseVal.consolidate();
11 try { transform.baseVal.initialize(value); } catch (e) {}
12 </script>
13 <p>PASS if no crash</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698