| Index: Source/core/xml/XPathParser.cpp
|
| diff --git a/Source/core/xml/XPathParser.cpp b/Source/core/xml/XPathParser.cpp
|
| index 0772e3adfa93bb6e1cdae2b2b344bddf82555f5a..2427539edb596ec65b1edab1f56e050e64a59612 100644
|
| --- a/Source/core/xml/XPathParser.cpp
|
| +++ b/Source/core/xml/XPathParser.cpp
|
| @@ -502,9 +502,9 @@ Expression* Parser::parseStatement(const String& statement, PassRefPtr<XPathNSRe
|
| m_topExpr = 0;
|
|
|
| if (m_gotNamespaceError)
|
| - es.throwDOMException(NamespaceError);
|
| + es.throwUninformativeAndGenericDOMException(NamespaceError);
|
| else
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return 0;
|
| }
|
|
|
|
|