Update XPathException to use the description in toString().
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2016 00:46:23 +0000 (00:46 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2016 00:46:23 +0000 (00:46 +0000)
commitd8991a4717c80f68e574b5ee29bdbd58d35b34e6
tree4c52828e5c810b74149296d2e341def8e553e8a7
parentac88c074cd383705de0d9baf11b1f64e236891d0
Update XPathException to use the description in toString().
https://bugs.webkit.org/show_bug.cgi?id=159848

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (Covered by changes to existing tests).

* bindings/js/JSDOMBinding.cpp:
(WebCore::createDOMException):
* xml/XPathException.h:
(WebCore::XPathException::XPathException):

LayoutTests:

* fast/dom/DOMException/XPathException-expected.txt:
* fast/dom/DOMException/resources/XPathException.js:
* fast/xpath/4XPath/Core/test_parser-expected.txt:
* fast/xpath/invalid-functions-expected.txt:
* fast/xpath/py-dom-xpath/expressions-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/DOMException/XPathException-expected.txt
LayoutTests/fast/dom/DOMException/resources/XPathException.js
LayoutTests/fast/xpath/4XPath/Core/test_parser-expected.txt
LayoutTests/fast/xpath/invalid-functions-expected.txt
LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.cpp
Source/WebCore/xml/XPathException.h