Exceptions logged to the JS console should use toString().
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Jul 2016 19:12:49 +0000 (19:12 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Jul 2016 19:12:49 +0000 (19:12 +0000)
commit38c13b6c2c124216bd473210451d005766ade90b
tree4e39c25f3bc45fb98d588fc13ed8689ad2824455
parent77c1eb1dd3b4e521b53d239e993385daad2a63f3
Exceptions logged to the JS console should use toString().
https://bugs.webkit.org/show_bug.cgi?id=159855

Reviewed by Darin Adler.

No new tests (No change in behavior).

* bindings/js/JSDOMBinding.cpp:
(WebCore::reportException):

* dom/DOMCoreException.h:
(WebCore::DOMCoreException::DOMCoreException):

* dom/ExceptionBase.cpp:
(WebCore::ExceptionBase::ExceptionBase):
(WebCore::ExceptionBase::toString):
(WebCore::ExceptionBase::consoleErrorMessage): Deleted.
* dom/ExceptionBase.h:
(WebCore::ExceptionBase::description): Deleted.

* svg/SVGException.h:

* xml/XPathException.h:
(WebCore::XPathException::XPathException):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.cpp
Source/WebCore/dom/DOMCoreException.h
Source/WebCore/dom/ExceptionBase.cpp
Source/WebCore/dom/ExceptionBase.h
Source/WebCore/svg/SVGException.h
Source/WebCore/xml/XPathException.h