| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index 4f7a3a805d45aa1359d4d3cef373138eeb08e96f..35deceb4fd64b08d63535437c5ba3feca9445ec4 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -119,7 +119,7 @@ float SVGTextContentElement::getSubStringLength(unsigned charnum, unsigned nchar
|
|
|
| unsigned numberOfChars = getNumberOfChars();
|
| if (charnum >= numberOfChars) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return 0.0f;
|
| }
|
|
|
| @@ -134,7 +134,7 @@ SVGPoint SVGTextContentElement::getStartPositionOfChar(unsigned charnum, Excepti
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| if (charnum > getNumberOfChars()) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return FloatPoint();
|
| }
|
|
|
| @@ -146,7 +146,7 @@ SVGPoint SVGTextContentElement::getEndPositionOfChar(unsigned charnum, Exception
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| if (charnum > getNumberOfChars()) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return FloatPoint();
|
| }
|
|
|
| @@ -158,7 +158,7 @@ SVGRect SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionState&
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| if (charnum > getNumberOfChars()) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return SVGRect();
|
| }
|
|
|
| @@ -170,7 +170,7 @@ float SVGTextContentElement::getRotationOfChar(unsigned charnum, ExceptionState&
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| if (charnum > getNumberOfChars()) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return 0.0f;
|
| }
|
|
|
| @@ -187,7 +187,7 @@ void SVGTextContentElement::selectSubString(unsigned charnum, unsigned nchars, E
|
| {
|
| unsigned numberOfChars = getNumberOfChars();
|
| if (charnum >= numberOfChars) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
|
|