haikuwebkit/LayoutTests/svg/dom/SVGException-obsolete-expec...

11 lines
225 B
Plaintext
Raw Permalink Normal View History

Drop legacy SVGException type https://bugs.webkit.org/show_bug.cgi?id=174695 Reviewed by Darin Adler. Source/WebCore: Drop legacy SVGException type and use DOMException instead, as per the latest SVG specification. Both Chrome and Firefox no longer expose the SVGException type. * CMakeLists.txt: * DerivedSources.cpp: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMExceptionHandling.cpp: (WebCore::createDOMException): * bindings/js/JSExceptionBase.cpp: (WebCore::toExceptionBase): * dom/DOMExceptions.in: * svg/SVGAllInOne.cpp: * svg/SVGCircleElement.cpp: * svg/SVGException.cpp: Removed. * svg/SVGException.h: Removed. * svg/SVGException.idl: Removed. * svg/SVGGraphicsElement.idl: * svg/SVGLocatable.cpp: (WebCore::SVGLocatable::getTransformToElement): * svg/SVGMatrixValue.h: * svg/SVGPathSegList.cpp: (WebCore::SVGPathSegList::getItem): (WebCore::SVGPathSegList::replaceItem): (WebCore::SVGPathSegList::removeItem): * svg/SVGPathSegList.h: * svg/SVGPathSegList.idl: * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h: * svg/properties/SVGListProperty.h: LayoutTests: Update existing tests to reflect behavior change. * fast/dom/Window/resources/window-properties.js: * js/dom/global-constructors-attributes-expected.txt: * platform/gtk/js/dom/global-constructors-attributes-expected.txt: * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: * platform/mac-highsierra-wk1/js/dom/global-constructors-attributes-expected.txt: * platform/mac-highsierra/js/dom/global-constructors-attributes-expected.txt: * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt: * platform/mac/js/dom/global-constructors-attributes-expected.txt: * platform/win/js/dom/global-constructors-attributes-expected.txt: * platform/wpe/js/dom/global-constructors-attributes-expected.txt: * svg/animations/animate-marker-orient-from-angle-to-autostartreverse-expected.txt: * svg/custom/SVGException-expected.txt: Removed. * svg/custom/SVGException.html: Removed. * svg/custom/global-constructors-expected.txt: * svg/custom/global-constructors.html: * svg/custom/js-svg-constructors-expected.txt: * svg/custom/js-svg-constructors.svg: * 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-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/SVGException-obsolete-expected.txt: Added. * svg/dom/SVGException-obsolete.html: Added. * svg/dom/SVGMatrix-interface-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: Canonical link: https://commits.webkit.org/191521@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-21 02:36:52 +00:00
Tests that the obsolete SVGException is not exposed.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.SVGException is undefined
PASS successfullyParsed is true
TEST COMPLETE