| Index: third_party/WebKit/LayoutTests/svg/custom/path-getTotalLength-on-big-segment-crash.svg
|
| diff --git a/third_party/WebKit/LayoutTests/svg/custom/path-getTotalLength-on-big-segment-crash.svg b/third_party/WebKit/LayoutTests/svg/custom/path-getTotalLength-on-big-segment-crash.svg
|
| index e259bc984e8555e837ed6edc25c65f28ab6fb8df..5aca40669b628411b9f73516d75891df4e1c2f01 100644
|
| --- a/third_party/WebKit/LayoutTests/svg/custom/path-getTotalLength-on-big-segment-crash.svg
|
| +++ b/third_party/WebKit/LayoutTests/svg/custom/path-getTotalLength-on-big-segment-crash.svg
|
| @@ -2,18 +2,11 @@
|
| <text x="10" y="30">Test passes if it does not crash.</text>
|
| <script>
|
| <![CDATA[
|
| - var path = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
| - path.setAttribute("d", "M0,0");
|
| - var x = -764285429.594597, y = -4016805151.510674,
|
| - x1 = -1.227687, y1 = -4089196561.699610,
|
| - x2 = -2172808631, y2 = .990756267;
|
| - pathSeg = path.createSVGPathSegCurvetoCubicAbs(x, y, x1 ,y1 ,x2 ,y2);
|
| - pathSegList = path.pathSegList;
|
| - pathSegList.appendItem(pathSeg);
|
| - path.getTotalLength();
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
| -
|
| + var path = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
| + path.setAttribute("d", "M0,0 C-1.227687,-4089196561.699610 -2172808631,.990756267 -764285429.594597,-4016805151.510674");
|
| + path.getTotalLength();
|
| ]]>
|
| </script>
|
| </svg>
|
|
|