Update SVGException to use the description in toString().
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2016 21:33:01 +0000 (21:33 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2016 21:33:01 +0000 (21:33 +0000)
commit27b0d25947e7b547570796f2a4a494f0c551bf9a
treed4bf52df3ed533bbcfa0d2b17cbac9e1b83cb175
parent2880b7a484791f229030a9e51dead1351adde060
Update SVGException to use the description in toString().
https://bugs.webkit.org/show_bug.cgi?id=159847

Reviewed by Darin Adler.

Source/WebCore:

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

* bindings/js/JSDOMBinding.cpp:
(WebCore::reportException): use consoleErrorMessage for now.

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

* svg/SVGException.h:

LayoutTests:

* svg/animations/animate-marker-orient-from-angle-to-autostartreverse-expected.txt:
* svg/custom/SVGException-expected.txt:
* svg/custom/polyline-points-crash-expected.txt:
* svg/custom/script-tests/SVGException.js:
* svg/dom/SVGAnimatedEnumeration-SVGClipPathElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGComponentTransferFunctionElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEColorMatrixElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEDisplacementMapElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEMorphologyElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFETurbulenceElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFilterElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGMarkerElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGMaskElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGPatternElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGTextContentElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGTextPathElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-expected.txt:
* svg/dom/SVGLengthList-basics-expected.txt:
* svg/dom/SVGMatrix-interface-expected.txt:
* svg/dom/SVGNumberList-basics-expected.txt:
* svg/dom/SVGPointList-basics-expected.txt:
* svg/dom/SVGTransformList-basics-expected.txt:
* svg/dom/svglist-exception-on-out-bounds-error-expected.txt:
* svg/filters/feBlend-invalid-mode-expected.txt:
* svg/filters/feComponentTransfer-style-crash-expected.txt:
* svg/filters/feDisplacementMap-crash-test-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
36 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/animations/animate-marker-orient-from-angle-to-autostartreverse-expected.txt
LayoutTests/svg/custom/SVGException-expected.txt
LayoutTests/svg/custom/polyline-points-crash-expected.txt
LayoutTests/svg/custom/script-tests/SVGException.js
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGClipPathElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGComponentTransferFunctionElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEColorMatrixElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEDisplacementMapElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEMorphologyElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFETurbulenceElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFilterElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGMarkerElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGMaskElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGPatternElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGTextContentElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGTextPathElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-expected.txt
LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
LayoutTests/svg/dom/SVGMatrix-interface-expected.txt
LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
LayoutTests/svg/dom/SVGPointList-basics-expected.txt
LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
LayoutTests/svg/dom/svglist-exception-on-out-bounds-error-expected.txt
LayoutTests/svg/filters/feBlend-invalid-mode-expected.txt
LayoutTests/svg/filters/feComponentTransfer-style-crash-expected.txt
LayoutTests/svg/filters/feDisplacementMap-crash-test-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.cpp
Source/WebCore/dom/ExceptionBase.cpp
Source/WebCore/dom/ExceptionBase.h
Source/WebCore/svg/SVGException.h