| Index: Source/core/html/canvas/CanvasPathMethods.cpp
|
| diff --git a/Source/core/html/canvas/CanvasPathMethods.cpp b/Source/core/html/canvas/CanvasPathMethods.cpp
|
| index 9104eac6c07a9fb3aa78cc405d26cb54cabcf586..7de92cd2e4f7a8498071fdd10466edb0b5325d79 100644
|
| --- a/Source/core/html/canvas/CanvasPathMethods.cpp
|
| +++ b/Source/core/html/canvas/CanvasPathMethods.cpp
|
| @@ -113,7 +113,7 @@ void CanvasPathMethods::arcTo(float x1, float y1, float x2, float y2, float r, E
|
| return;
|
|
|
| if (r < 0) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
| @@ -259,7 +259,7 @@ void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, fl
|
| return;
|
|
|
| if (radius < 0) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
| @@ -283,7 +283,7 @@ void CanvasPathMethods::ellipse(float x, float y, float radiusX, float radiusY,
|
| return;
|
|
|
| if (radiusX < 0 || radiusY < 0) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
|
|