| Index: Source/core/xml/XPathExpression.cpp
|
| diff --git a/Source/core/xml/XPathExpression.cpp b/Source/core/xml/XPathExpression.cpp
|
| index 920f6c93c87c151e0c6f54d9cfa389fe129752dd..0c80a5418e0ab21b2ecb72694914a7902955c4e4 100644
|
| --- a/Source/core/xml/XPathExpression.cpp
|
| +++ b/Source/core/xml/XPathExpression.cpp
|
| @@ -60,7 +60,7 @@ XPathExpression::~XPathExpression()
|
| PassRefPtr<XPathResult> XPathExpression::evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionState& es)
|
| {
|
| if (!isValidContextNode(contextNode)) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return 0;
|
| }
|
|
|
| @@ -74,7 +74,7 @@ PassRefPtr<XPathResult> XPathExpression::evaluate(Node* contextNode, unsigned sh
|
|
|
| if (evaluationContext.hadTypeConversionError) {
|
| // It is not specified what to do if type conversion fails while evaluating an expression.
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return 0;
|
| }
|
|
|
|
|