| Index: Source/core/css/CSSMatrix.cpp
|
| diff --git a/Source/core/css/CSSMatrix.cpp b/Source/core/css/CSSMatrix.cpp
|
| index 7866dd968f70091616836ce5ce2897b6741ace07..780feab3ab8e08c4f1fa42eeea616d1b7d23b0a5 100644
|
| --- a/Source/core/css/CSSMatrix.cpp
|
| +++ b/Source/core/css/CSSMatrix.cpp
|
| @@ -70,7 +70,7 @@ void CSSMatrix::setMatrixValue(const String& string, ExceptionState& es)
|
|
|
| TransformOperations operations;
|
| if (!TransformBuilder::createTransformOperations(value.get(), 0, 0, operations)) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
|
|
| @@ -79,7 +79,7 @@ void CSSMatrix::setMatrixValue(const String& string, ExceptionState& es)
|
| TransformationMatrix t;
|
| for (unsigned i = 0; i < operations.operations().size(); ++i) {
|
| if (operations.operations()[i].get()->apply(t, IntSize(0, 0))) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
| }
|
| @@ -87,7 +87,7 @@ void CSSMatrix::setMatrixValue(const String& string, ExceptionState& es)
|
| // set the matrix
|
| m_matrix = t;
|
| } else { // There is something there but parsing failed.
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| }
|
| }
|
|
|
| @@ -103,7 +103,7 @@ PassRefPtr<CSSMatrix> CSSMatrix::multiply(CSSMatrix* secondMatrix) const
|
| PassRefPtr<CSSMatrix> CSSMatrix::inverse(ExceptionState& es) const
|
| {
|
| if (!m_matrix.isInvertible()) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return 0;
|
| }
|
|
|
|
|