| Index: Source/core/svg/SVGPreserveAspectRatio.cpp
|
| diff --git a/Source/core/svg/SVGPreserveAspectRatio.cpp b/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| index 5e425e323d67a0d9bcdedbfaa88402c42addf1d2..78700713c81aad222a78dfdc00fde6c8f5b8c588 100644
|
| --- a/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| +++ b/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| @@ -40,7 +40,7 @@ SVGPreserveAspectRatio::SVGPreserveAspectRatio()
|
| void SVGPreserveAspectRatio::setAlign(unsigned short align, ExceptionState& es)
|
| {
|
| if (align == SVG_PRESERVEASPECTRATIO_UNKNOWN || align > SVG_PRESERVEASPECTRATIO_XMAXYMAX) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
| @@ -50,7 +50,7 @@ void SVGPreserveAspectRatio::setAlign(unsigned short align, ExceptionState& es)
|
| void SVGPreserveAspectRatio::setMeetOrSlice(unsigned short meetOrSlice, ExceptionState& es)
|
| {
|
| if (meetOrSlice == SVG_MEETORSLICE_UNKNOWN || meetOrSlice > SVG_MEETORSLICE_SLICE) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
|
|