[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

zimmermann at webkit.org zimmermann at webkit.org
Thu Apr 8 00:49:08 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit b079006d60524f3594f630a2dc25be168c7cf888
Author: zimmermann at webkit.org <zimmermann at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 25 21:03:45 2009 +0000

    2009-12-25  Nikolas Zimmermann  <nzimmermann at rim.com>
    
            Reviewed by Dirk Schulze.
    
            DOMWindow is missing lots of SVG* constructor objects
            https://bugs.webkit.org/show_bug.cgi?id=20430
    
            Expose all implemented SVG 1.1 constructors.
    
            Test: svg/custom/global-constructors.js
    
            * bindings/v8/V8Index.cpp: Add missing includes for SVGFontFaceElement & SVGMissingGlyphElement
            * bindings/v8/V8Index.h: Add misisng SVGFontFaceElement & SVGMissingGlyphElement declarations.
            * page/DOMWindow.idl: Add a bunch of new SVG object ctors.
            * svg/SVGAnimatedPathData.idl: Add OmitConstructor flag, as this is a SVG MI class, which is not exposable at the moment.
            * svg/SVGAnimatedPoints.idl: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index d15cb0b..8918753 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,21 @@
+2009-12-25  Nikolas Zimmermann  <nzimmermann at rim.com>
+
+        Reviewed by Dirk Schulze.
+
+        DOMWindow is missing lots of SVG* constructor objects
+        https://bugs.webkit.org/show_bug.cgi?id=20430
+
+        Update LayoutTests after exposing several new SVG* constructor objects.
+
+        * fast/dom/Window/window-properties-expected.txt:
+        * fast/dom/prototype-inheritance-2-expected.txt:
+        * fast/dom/prototype-inheritance-expected.txt:
+        * fast/js/global-constructors-expected.txt:
+        * svg/custom/global-constructors-expected.txt: Added.
+        * svg/custom/global-constructors.html: Added.
+        * svg/custom/script-tests/global-constructors.js: Added.
+        (shouldBeDefined):
+
 2009-12-25  Csaba Osztrogonác  <ossy at webkit.org>
 
         Unreviewed trivial fix.
diff --git a/LayoutTests/fast/dom/Window/window-properties-expected.txt b/LayoutTests/fast/dom/Window/window-properties-expected.txt
index 1000a0d..e2267b6 100644
--- a/LayoutTests/fast/dom/Window/window-properties-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-properties-expected.txt
@@ -1269,6 +1269,10 @@ window.RangeException.prototype.INVALID_NODE_TYPE_ERR [number]
 window.Rect [object RectConstructor]
 window.Rect.prototype [object RectPrototype]
 window.ReferenceError [function]
+window.SVGAElement [object SVGAElementConstructor]
+window.SVGAElement.prototype [printed above as window.Element.prototype]
+window.SVGAltGlyphElement [object SVGAltGlyphElementConstructor]
+window.SVGAltGlyphElement.prototype [printed above as window.Element.prototype]
 window.SVGAngle [object SVGAngleConstructor]
 window.SVGAngle.SVG_ANGLETYPE_DEG [number]
 window.SVGAngle.SVG_ANGLETYPE_GRAD [number]
@@ -1283,6 +1287,40 @@ window.SVGAngle.prototype.SVG_ANGLETYPE_UNKNOWN [number]
 window.SVGAngle.prototype.SVG_ANGLETYPE_UNSPECIFIED [number]
 window.SVGAngle.prototype.convertToSpecifiedUnits [function]
 window.SVGAngle.prototype.newValueSpecifiedUnits [function]
+window.SVGAnimateColorElement [object SVGAnimateColorElementConstructor]
+window.SVGAnimateColorElement.prototype [printed above as window.Element.prototype]
+window.SVGAnimateElement [object SVGAnimateElementConstructor]
+window.SVGAnimateElement.prototype [printed above as window.Element.prototype]
+window.SVGAnimateTransformElement [object SVGAnimateTransformElementConstructor]
+window.SVGAnimateTransformElement.prototype [printed above as window.Element.prototype]
+window.SVGAnimatedAngle [object SVGAnimatedAngleConstructor]
+window.SVGAnimatedAngle.prototype [object SVGAnimatedAnglePrototype]
+window.SVGAnimatedBoolean [object SVGAnimatedBooleanConstructor]
+window.SVGAnimatedBoolean.prototype [object SVGAnimatedBooleanPrototype]
+window.SVGAnimatedEnumeration [object SVGAnimatedEnumerationConstructor]
+window.SVGAnimatedEnumeration.prototype [object SVGAnimatedEnumerationPrototype]
+window.SVGAnimatedInteger [object SVGAnimatedIntegerConstructor]
+window.SVGAnimatedInteger.prototype [object SVGAnimatedIntegerPrototype]
+window.SVGAnimatedLength [object SVGAnimatedLengthConstructor]
+window.SVGAnimatedLength.prototype [object SVGAnimatedLengthPrototype]
+window.SVGAnimatedLengthList [object SVGAnimatedLengthListConstructor]
+window.SVGAnimatedLengthList.prototype [object SVGAnimatedLengthListPrototype]
+window.SVGAnimatedNumber [object SVGAnimatedNumberConstructor]
+window.SVGAnimatedNumber.prototype [object SVGAnimatedNumberPrototype]
+window.SVGAnimatedNumberList [object SVGAnimatedNumberListConstructor]
+window.SVGAnimatedNumberList.prototype [object SVGAnimatedNumberListPrototype]
+window.SVGAnimatedPreserveAspectRatio [object SVGAnimatedPreserveAspectRatioConstructor]
+window.SVGAnimatedPreserveAspectRatio.prototype [object SVGAnimatedPreserveAspectRatioPrototype]
+window.SVGAnimatedRect [object SVGAnimatedRectConstructor]
+window.SVGAnimatedRect.prototype [object SVGAnimatedRectPrototype]
+window.SVGAnimatedString [object SVGAnimatedStringConstructor]
+window.SVGAnimatedString.prototype [object SVGAnimatedStringPrototype]
+window.SVGAnimatedTransformList [object SVGAnimatedTransformListConstructor]
+window.SVGAnimatedTransformList.prototype [object SVGAnimatedTransformListPrototype]
+window.SVGCircleElement [object SVGCircleElementConstructor]
+window.SVGCircleElement.prototype [printed above as window.Element.prototype]
+window.SVGClipPathElement [object SVGClipPathElementConstructor]
+window.SVGClipPathElement.prototype [printed above as window.Element.prototype]
 window.SVGColor [object SVGColorConstructor]
 window.SVGColor.SVG_COLORTYPE_CURRENTCOLOR [number]
 window.SVGColor.SVG_COLORTYPE_RGBCOLOR [number]
@@ -1297,6 +1335,26 @@ window.SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR [
 window.SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_TABLE [number]
 window.SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN [number]
 window.SVGComponentTransferFunctionElement.prototype [printed above as window.Element.prototype]
+window.SVGCursorElement [object SVGCursorElementConstructor]
+window.SVGCursorElement.prototype [printed above as window.Element.prototype]
+window.SVGDefsElement [object SVGDefsElementConstructor]
+window.SVGDefsElement.prototype [printed above as window.Element.prototype]
+window.SVGDescElement [object SVGDescElementConstructor]
+window.SVGDescElement.prototype [printed above as window.Element.prototype]
+window.SVGDocument [object SVGDocumentConstructor]
+window.SVGDocument.prototype [printed above as window.Document.prototype]
+window.SVGElement [object SVGElementConstructor]
+window.SVGElement.prototype [printed above as window.Element.prototype]
+window.SVGElementInstance [object SVGElementInstanceConstructor]
+window.SVGElementInstance.prototype [object SVGElementInstancePrototype]
+window.SVGElementInstance.prototype.addEventListener [function]
+window.SVGElementInstance.prototype.dispatchEvent [function]
+window.SVGElementInstance.prototype.removeEventListener [function]
+window.SVGElementInstanceList [object SVGElementInstanceListConstructor]
+window.SVGElementInstanceList.prototype [object SVGElementInstanceListPrototype]
+window.SVGElementInstanceList.prototype.item [function]
+window.SVGEllipseElement [object SVGEllipseElementConstructor]
+window.SVGEllipseElement.prototype [printed above as window.Element.prototype]
 window.SVGException [object SVGExceptionConstructor]
 window.SVGException.SVG_INVALID_VALUE_ERR [number]
 window.SVGException.SVG_MATRIX_NOT_INVERTABLE [number]
@@ -1320,6 +1378,8 @@ window.SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX [number]
 window.SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE [number]
 window.SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN [number]
 window.SVGFEColorMatrixElement.prototype [printed above as window.Element.prototype]
+window.SVGFEComponentTransferElement [object SVGFEComponentTransferElementConstructor]
+window.SVGFEComponentTransferElement.prototype [printed above as window.Element.prototype]
 window.SVGFECompositeElement [object SVGFECompositeElementConstructor]
 window.SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC [number]
 window.SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP [number]
@@ -1329,6 +1389,8 @@ window.SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER [number]
 window.SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN [number]
 window.SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR [number]
 window.SVGFECompositeElement.prototype [printed above as window.Element.prototype]
+window.SVGFEDiffuseLightingElement [object SVGFEDiffuseLightingElementConstructor]
+window.SVGFEDiffuseLightingElement.prototype [printed above as window.Element.prototype]
 window.SVGFEDisplacementMapElement [object SVGFEDisplacementMapElementConstructor]
 window.SVGFEDisplacementMapElement.SVG_CHANNEL_A [number]
 window.SVGFEDisplacementMapElement.SVG_CHANNEL_B [number]
@@ -1336,11 +1398,41 @@ window.SVGFEDisplacementMapElement.SVG_CHANNEL_G [number]
 window.SVGFEDisplacementMapElement.SVG_CHANNEL_R [number]
 window.SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN [number]
 window.SVGFEDisplacementMapElement.prototype [printed above as window.Element.prototype]
+window.SVGFEDistantLightElement [object SVGFEDistantLightElementConstructor]
+window.SVGFEDistantLightElement.prototype [printed above as window.Element.prototype]
+window.SVGFEFloodElement [object SVGFEFloodElementConstructor]
+window.SVGFEFloodElement.prototype [printed above as window.Element.prototype]
+window.SVGFEFuncAElement [object SVGFEFuncAElementConstructor]
+window.SVGFEFuncAElement.prototype [printed above as window.Element.prototype]
+window.SVGFEFuncBElement [object SVGFEFuncBElementConstructor]
+window.SVGFEFuncBElement.prototype [printed above as window.Element.prototype]
+window.SVGFEFuncGElement [object SVGFEFuncGElementConstructor]
+window.SVGFEFuncGElement.prototype [printed above as window.Element.prototype]
+window.SVGFEFuncRElement [object SVGFEFuncRElementConstructor]
+window.SVGFEFuncRElement.prototype [printed above as window.Element.prototype]
+window.SVGFEGaussianBlurElement [object SVGFEGaussianBlurElementConstructor]
+window.SVGFEGaussianBlurElement.prototype [printed above as window.Element.prototype]
+window.SVGFEImageElement [object SVGFEImageElementConstructor]
+window.SVGFEImageElement.prototype [printed above as window.Element.prototype]
+window.SVGFEMergeElement [object SVGFEMergeElementConstructor]
+window.SVGFEMergeElement.prototype [printed above as window.Element.prototype]
+window.SVGFEMergeNodeElement [object SVGFEMergeNodeElementConstructor]
+window.SVGFEMergeNodeElement.prototype [printed above as window.Element.prototype]
 window.SVGFEMorphologyElement [object SVGFEMorphologyElementConstructor]
 window.SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE [number]
 window.SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE [number]
 window.SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN [number]
 window.SVGFEMorphologyElement.prototype [printed above as window.Element.prototype]
+window.SVGFEOffsetElement [object SVGFEOffsetElementConstructor]
+window.SVGFEOffsetElement.prototype [printed above as window.Element.prototype]
+window.SVGFEPointLightElement [object SVGFEPointLightElementConstructor]
+window.SVGFEPointLightElement.prototype [printed above as window.Element.prototype]
+window.SVGFESpecularLightingElement [object SVGFESpecularLightingElementConstructor]
+window.SVGFESpecularLightingElement.prototype [printed above as window.Element.prototype]
+window.SVGFESpotLightElement [object SVGFESpotLightElementConstructor]
+window.SVGFESpotLightElement.prototype [printed above as window.Element.prototype]
+window.SVGFETileElement [object SVGFETileElementConstructor]
+window.SVGFETileElement.prototype [printed above as window.Element.prototype]
 window.SVGFETurbulenceElement [object SVGFETurbulenceElementConstructor]
 window.SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH [number]
 window.SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH [number]
@@ -1349,12 +1441,34 @@ window.SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE [number]
 window.SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE [number]
 window.SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN [number]
 window.SVGFETurbulenceElement.prototype [printed above as window.Element.prototype]
+window.SVGFilterElement [object SVGFilterElementConstructor]
+window.SVGFilterElement.prototype [printed above as window.Element.prototype]
+window.SVGFontElement [object SVGFontElementConstructor]
+window.SVGFontElement.prototype [printed above as window.Element.prototype]
+window.SVGFontFaceElement [object SVGFontFaceElementConstructor]
+window.SVGFontFaceElement.prototype [printed above as window.Element.prototype]
+window.SVGFontFaceFormatElement [object SVGFontFaceFormatElementConstructor]
+window.SVGFontFaceFormatElement.prototype [printed above as window.Element.prototype]
+window.SVGFontFaceNameElement [object SVGFontFaceNameElementConstructor]
+window.SVGFontFaceNameElement.prototype [printed above as window.Element.prototype]
+window.SVGFontFaceSrcElement [object SVGFontFaceSrcElementConstructor]
+window.SVGFontFaceSrcElement.prototype [printed above as window.Element.prototype]
+window.SVGFontFaceUriElement [object SVGFontFaceUriElementConstructor]
+window.SVGFontFaceUriElement.prototype [printed above as window.Element.prototype]
+window.SVGForeignObjectElement [object SVGForeignObjectElementConstructor]
+window.SVGForeignObjectElement.prototype [printed above as window.Element.prototype]
+window.SVGGElement [object SVGGElementConstructor]
+window.SVGGElement.prototype [printed above as window.Element.prototype]
+window.SVGGlyphElement [object SVGGlyphElementConstructor]
+window.SVGGlyphElement.prototype [printed above as window.Element.prototype]
 window.SVGGradientElement [object SVGGradientElementConstructor]
 window.SVGGradientElement.SVG_SPREADMETHOD_PAD [number]
 window.SVGGradientElement.SVG_SPREADMETHOD_REFLECT [number]
 window.SVGGradientElement.SVG_SPREADMETHOD_REPEAT [number]
 window.SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN [number]
 window.SVGGradientElement.prototype [printed above as window.Element.prototype]
+window.SVGImageElement [object SVGImageElementConstructor]
+window.SVGImageElement.prototype [printed above as window.Element.prototype]
 window.SVGLength [object SVGLengthConstructor]
 window.SVGLength.SVG_LENGTHTYPE_CM [number]
 window.SVGLength.SVG_LENGTHTYPE_EMS [number]
@@ -1381,6 +1495,19 @@ window.SVGLength.prototype.SVG_LENGTHTYPE_PX [number]
 window.SVGLength.prototype.SVG_LENGTHTYPE_UNKNOWN [number]
 window.SVGLength.prototype.convertToSpecifiedUnits [function]
 window.SVGLength.prototype.newValueSpecifiedUnits [function]
+window.SVGLengthList [object SVGLengthListConstructor]
+window.SVGLengthList.prototype [object SVGLengthListPrototype]
+window.SVGLengthList.prototype.appendItem [function]
+window.SVGLengthList.prototype.clear [function]
+window.SVGLengthList.prototype.getItem [function]
+window.SVGLengthList.prototype.initialize [function]
+window.SVGLengthList.prototype.insertItemBefore [function]
+window.SVGLengthList.prototype.removeItem [function]
+window.SVGLengthList.prototype.replaceItem [function]
+window.SVGLineElement [object SVGLineElementConstructor]
+window.SVGLineElement.prototype [printed above as window.Element.prototype]
+window.SVGLinearGradientElement [object SVGLinearGradientElementConstructor]
+window.SVGLinearGradientElement.prototype [printed above as window.Element.prototype]
 window.SVGMarkerElement [object SVGMarkerElementConstructor]
 window.SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH [number]
 window.SVGMarkerElement.SVG_MARKERUNITS_UNKNOWN [number]
@@ -1389,6 +1516,36 @@ window.SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE [number]
 window.SVGMarkerElement.SVG_MARKER_ORIENT_AUTO [number]
 window.SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN [number]
 window.SVGMarkerElement.prototype [printed above as window.Element.prototype]
+window.SVGMaskElement [object SVGMaskElementConstructor]
+window.SVGMaskElement.prototype [printed above as window.Element.prototype]
+window.SVGMatrix [object SVGMatrixConstructor]
+window.SVGMatrix.prototype [object SVGMatrixPrototype]
+window.SVGMatrix.prototype.flipX [function]
+window.SVGMatrix.prototype.flipY [function]
+window.SVGMatrix.prototype.inverse [function]
+window.SVGMatrix.prototype.multiply [function]
+window.SVGMatrix.prototype.rotate [function]
+window.SVGMatrix.prototype.rotateFromVector [function]
+window.SVGMatrix.prototype.scale [function]
+window.SVGMatrix.prototype.scaleNonUniform [function]
+window.SVGMatrix.prototype.skewX [function]
+window.SVGMatrix.prototype.skewY [function]
+window.SVGMatrix.prototype.translate [function]
+window.SVGMetadataElement [object SVGMetadataElementConstructor]
+window.SVGMetadataElement.prototype [printed above as window.Element.prototype]
+window.SVGMissingGlyphElement [object SVGMissingGlyphElementConstructor]
+window.SVGMissingGlyphElement.prototype [printed above as window.Element.prototype]
+window.SVGNumber [object SVGNumberConstructor]
+window.SVGNumber.prototype [object SVGNumberPrototype]
+window.SVGNumberList [object SVGNumberListConstructor]
+window.SVGNumberList.prototype [object SVGNumberListPrototype]
+window.SVGNumberList.prototype.appendItem [function]
+window.SVGNumberList.prototype.clear [function]
+window.SVGNumberList.prototype.getItem [function]
+window.SVGNumberList.prototype.initialize [function]
+window.SVGNumberList.prototype.insertItemBefore [function]
+window.SVGNumberList.prototype.removeItem [function]
+window.SVGNumberList.prototype.replaceItem [function]
 window.SVGPaint [object SVGPaintConstructor]
 window.SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR [number]
 window.SVGPaint.SVG_PAINTTYPE_NONE [number]
@@ -1401,6 +1558,8 @@ window.SVGPaint.SVG_PAINTTYPE_URI_NONE [number]
 window.SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR [number]
 window.SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR [number]
 window.SVGPaint.prototype [printed above as window.CSSValue.prototype]
+window.SVGPathElement [object SVGPathElementConstructor]
+window.SVGPathElement.prototype [printed above as window.Element.prototype]
 window.SVGPathSeg [object SVGPathSegConstructor]
 window.SVGPathSeg.PATHSEG_ARC_ABS [number]
 window.SVGPathSeg.PATHSEG_ARC_REL [number]
@@ -1443,6 +1602,71 @@ window.SVGPathSeg.prototype.PATHSEG_LINETO_VERTICAL_REL [number]
 window.SVGPathSeg.prototype.PATHSEG_MOVETO_ABS [number]
 window.SVGPathSeg.prototype.PATHSEG_MOVETO_REL [number]
 window.SVGPathSeg.prototype.PATHSEG_UNKNOWN [number]
+window.SVGPathSegArcAbs [object SVGPathSegArcAbsConstructor]
+window.SVGPathSegArcAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegArcRel [object SVGPathSegArcRelConstructor]
+window.SVGPathSegArcRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegClosePath [object SVGPathSegClosePathConstructor]
+window.SVGPathSegClosePath.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoCubicAbs [object SVGPathSegCurvetoCubicAbsConstructor]
+window.SVGPathSegCurvetoCubicAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoCubicRel [object SVGPathSegCurvetoCubicRelConstructor]
+window.SVGPathSegCurvetoCubicRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoCubicSmoothAbs [object SVGPathSegCurvetoCubicSmoothAbsConstructor]
+window.SVGPathSegCurvetoCubicSmoothAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoCubicSmoothRel [object SVGPathSegCurvetoCubicSmoothRelConstructor]
+window.SVGPathSegCurvetoCubicSmoothRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoQuadraticAbs [object SVGPathSegCurvetoQuadraticAbsConstructor]
+window.SVGPathSegCurvetoQuadraticAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoQuadraticRel [object SVGPathSegCurvetoQuadraticRelConstructor]
+window.SVGPathSegCurvetoQuadraticRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoQuadraticSmoothAbs [object SVGPathSegCurvetoQuadraticSmoothAbsConstructor]
+window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegCurvetoQuadraticSmoothRel [object SVGPathSegCurvetoQuadraticSmoothRelConstructor]
+window.SVGPathSegCurvetoQuadraticSmoothRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoAbs [object SVGPathSegLinetoAbsConstructor]
+window.SVGPathSegLinetoAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoHorizontalAbs [object SVGPathSegLinetoHorizontalAbsConstructor]
+window.SVGPathSegLinetoHorizontalAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoHorizontalRel [object SVGPathSegLinetoHorizontalRelConstructor]
+window.SVGPathSegLinetoHorizontalRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoRel [object SVGPathSegLinetoRelConstructor]
+window.SVGPathSegLinetoRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoVerticalAbs [object SVGPathSegLinetoVerticalAbsConstructor]
+window.SVGPathSegLinetoVerticalAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegLinetoVerticalRel [object SVGPathSegLinetoVerticalRelConstructor]
+window.SVGPathSegLinetoVerticalRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegList [object SVGPathSegListConstructor]
+window.SVGPathSegList.prototype [object SVGPathSegListPrototype]
+window.SVGPathSegList.prototype.appendItem [function]
+window.SVGPathSegList.prototype.clear [function]
+window.SVGPathSegList.prototype.getItem [function]
+window.SVGPathSegList.prototype.initialize [function]
+window.SVGPathSegList.prototype.insertItemBefore [function]
+window.SVGPathSegList.prototype.removeItem [function]
+window.SVGPathSegList.prototype.replaceItem [function]
+window.SVGPathSegMovetoAbs [object SVGPathSegMovetoAbsConstructor]
+window.SVGPathSegMovetoAbs.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPathSegMovetoRel [object SVGPathSegMovetoRelConstructor]
+window.SVGPathSegMovetoRel.prototype [printed above as window.SVGPathSeg.prototype]
+window.SVGPatternElement [object SVGPatternElementConstructor]
+window.SVGPatternElement.prototype [printed above as window.Element.prototype]
+window.SVGPoint [object SVGPointConstructor]
+window.SVGPoint.prototype [object SVGPointPrototype]
+window.SVGPoint.prototype.matrixTransform [function]
+window.SVGPointList [object SVGPointListConstructor]
+window.SVGPointList.prototype [object SVGPointListPrototype]
+window.SVGPointList.prototype.appendItem [function]
+window.SVGPointList.prototype.clear [function]
+window.SVGPointList.prototype.getItem [function]
+window.SVGPointList.prototype.initialize [function]
+window.SVGPointList.prototype.insertItemBefore [function]
+window.SVGPointList.prototype.removeItem [function]
+window.SVGPointList.prototype.replaceItem [function]
+window.SVGPolygonElement [object SVGPolygonElementConstructor]
+window.SVGPolygonElement.prototype [printed above as window.Element.prototype]
+window.SVGPolylineElement [object SVGPolylineElementConstructor]
+window.SVGPolylineElement.prototype [printed above as window.Element.prototype]
 window.SVGPreserveAspectRatio [object SVGPreserveAspectRatioConstructor]
 window.SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET [number]
 window.SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE [number]
@@ -1473,6 +1697,12 @@ window.SVGPreserveAspectRatio.prototype.SVG_PRESERVEASPECTRATIO_XMIDYMIN [number
 window.SVGPreserveAspectRatio.prototype.SVG_PRESERVEASPECTRATIO_XMINYMAX [number]
 window.SVGPreserveAspectRatio.prototype.SVG_PRESERVEASPECTRATIO_XMINYMID [number]
 window.SVGPreserveAspectRatio.prototype.SVG_PRESERVEASPECTRATIO_XMINYMIN [number]
+window.SVGRadialGradientElement [object SVGRadialGradientElementConstructor]
+window.SVGRadialGradientElement.prototype [printed above as window.Element.prototype]
+window.SVGRect [object SVGRectConstructor]
+window.SVGRect.prototype [object SVGRectPrototype]
+window.SVGRectElement [object SVGRectElementConstructor]
+window.SVGRectElement.prototype [printed above as window.Element.prototype]
 window.SVGRenderingIntent [object SVGRenderingIntentConstructor]
 window.SVGRenderingIntent.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC [number]
 window.SVGRenderingIntent.RENDERING_INTENT_AUTO [number]
@@ -1487,11 +1717,43 @@ window.SVGRenderingIntent.prototype.RENDERING_INTENT_PERCEPTUAL [number]
 window.SVGRenderingIntent.prototype.RENDERING_INTENT_RELATIVE_COLORIMETRIC [number]
 window.SVGRenderingIntent.prototype.RENDERING_INTENT_SATURATION [number]
 window.SVGRenderingIntent.prototype.RENDERING_INTENT_UNKNOWN [number]
+window.SVGSVGElement [object SVGSVGElementConstructor]
+window.SVGSVGElement.SVG_ZOOMANDPAN_DISABLE [number]
+window.SVGSVGElement.SVG_ZOOMANDPAN_MAGNIFY [number]
+window.SVGSVGElement.SVG_ZOOMANDPAN_UNKNOWN [number]
+window.SVGSVGElement.prototype [printed above as window.Element.prototype]
+window.SVGScriptElement [object SVGScriptElementConstructor]
+window.SVGScriptElement.prototype [printed above as window.Element.prototype]
+window.SVGSetElement [object SVGSetElementConstructor]
+window.SVGSetElement.prototype [printed above as window.Element.prototype]
+window.SVGStopElement [object SVGStopElementConstructor]
+window.SVGStopElement.prototype [printed above as window.Element.prototype]
+window.SVGStringList [object SVGStringListConstructor]
+window.SVGStringList.prototype [object SVGStringListPrototype]
+window.SVGStringList.prototype.appendItem [function]
+window.SVGStringList.prototype.clear [function]
+window.SVGStringList.prototype.getItem [function]
+window.SVGStringList.prototype.initialize [function]
+window.SVGStringList.prototype.insertItemBefore [function]
+window.SVGStringList.prototype.removeItem [function]
+window.SVGStringList.prototype.replaceItem [function]
+window.SVGStyleElement [object SVGStyleElementConstructor]
+window.SVGStyleElement.prototype [printed above as window.Element.prototype]
+window.SVGSwitchElement [object SVGSwitchElementConstructor]
+window.SVGSwitchElement.prototype [printed above as window.Element.prototype]
+window.SVGSymbolElement [object SVGSymbolElementConstructor]
+window.SVGSymbolElement.prototype [printed above as window.Element.prototype]
+window.SVGTRefElement [object SVGTRefElementConstructor]
+window.SVGTRefElement.prototype [printed above as window.Element.prototype]
+window.SVGTSpanElement [object SVGTSpanElementConstructor]
+window.SVGTSpanElement.prototype [printed above as window.Element.prototype]
 window.SVGTextContentElement [object SVGTextContentElementConstructor]
 window.SVGTextContentElement.LENGTHADJUST_SPACING [number]
 window.SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS [number]
 window.SVGTextContentElement.LENGTHADJUST_UNKNOWN [number]
 window.SVGTextContentElement.prototype [printed above as window.Element.prototype]
+window.SVGTextElement [object SVGTextElementConstructor]
+window.SVGTextElement.prototype [printed above as window.Element.prototype]
 window.SVGTextPathElement [object SVGTextPathElementConstructor]
 window.SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN [number]
 window.SVGTextPathElement.TEXTPATH_METHODTYPE_STRETCH [number]
@@ -1500,6 +1762,10 @@ window.SVGTextPathElement.TEXTPATH_SPACINGTYPE_AUTO [number]
 window.SVGTextPathElement.TEXTPATH_SPACINGTYPE_EXACT [number]
 window.SVGTextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN [number]
 window.SVGTextPathElement.prototype [printed above as window.Element.prototype]
+window.SVGTextPositioningElement [object SVGTextPositioningElementConstructor]
+window.SVGTextPositioningElement.prototype [printed above as window.Element.prototype]
+window.SVGTitleElement [object SVGTitleElementConstructor]
+window.SVGTitleElement.prototype [printed above as window.Element.prototype]
 window.SVGTransform [object SVGTransformConstructor]
 window.SVGTransform.SVG_TRANSFORM_MATRIX [number]
 window.SVGTransform.SVG_TRANSFORM_ROTATE [number]
@@ -1522,6 +1788,17 @@ window.SVGTransform.prototype.setScale [function]
 window.SVGTransform.prototype.setSkewX [function]
 window.SVGTransform.prototype.setSkewY [function]
 window.SVGTransform.prototype.setTranslate [function]
+window.SVGTransformList [object SVGTransformListConstructor]
+window.SVGTransformList.prototype [object SVGTransformListPrototype]
+window.SVGTransformList.prototype.appendItem [function]
+window.SVGTransformList.prototype.clear [function]
+window.SVGTransformList.prototype.consolidate [function]
+window.SVGTransformList.prototype.createSVGTransformFromMatrix [function]
+window.SVGTransformList.prototype.getItem [function]
+window.SVGTransformList.prototype.initialize [function]
+window.SVGTransformList.prototype.insertItemBefore [function]
+window.SVGTransformList.prototype.removeItem [function]
+window.SVGTransformList.prototype.replaceItem [function]
 window.SVGUnitTypes [object SVGUnitTypesConstructor]
 window.SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX [number]
 window.SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN [number]
@@ -1530,6 +1807,15 @@ window.SVGUnitTypes.prototype [object SVGUnitTypesPrototype]
 window.SVGUnitTypes.prototype.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX [number]
 window.SVGUnitTypes.prototype.SVG_UNIT_TYPE_UNKNOWN [number]
 window.SVGUnitTypes.prototype.SVG_UNIT_TYPE_USERSPACEONUSE [number]
+window.SVGUseElement [object SVGUseElementConstructor]
+window.SVGUseElement.prototype [printed above as window.Element.prototype]
+window.SVGViewElement [object SVGViewElementConstructor]
+window.SVGViewElement.SVG_ZOOMANDPAN_DISABLE [number]
+window.SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY [number]
+window.SVGViewElement.SVG_ZOOMANDPAN_UNKNOWN [number]
+window.SVGViewElement.prototype [printed above as window.Element.prototype]
+window.SVGZoomEvent [object SVGZoomEventConstructor]
+window.SVGZoomEvent.prototype [printed above as window.Event.prototype]
 window.SharedWorker [object SharedWorkerConstructor]
 window.SharedWorker.prototype [object SharedWorkerPrototype]
 window.SharedWorker.prototype.addEventListener [function]
diff --git a/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt b/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
index fd22b82..c8027aa 100644
--- a/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
+++ b/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
@@ -271,25 +271,134 @@ Never found Notation
 Never found Option
 Never found ProcessingInstruction
 Never found Range
+Never found SVGAElement
+Never found SVGAltGlyphElement
 Never found SVGAngle
+Never found SVGAnimateColorElement
+Never found SVGAnimateElement
+Never found SVGAnimateTransformElement
+Never found SVGAnimatedAngle
+Never found SVGAnimatedBoolean
+Never found SVGAnimatedEnumeration
+Never found SVGAnimatedInteger
+Never found SVGAnimatedLength
+Never found SVGAnimatedLengthList
+Never found SVGAnimatedNumber
+Never found SVGAnimatedNumberList
+Never found SVGAnimatedPreserveAspectRatio
+Never found SVGAnimatedRect
+Never found SVGAnimatedString
+Never found SVGAnimatedTransformList
+Never found SVGCircleElement
+Never found SVGClipPathElement
 Never found SVGColor
 Never found SVGComponentTransferFunctionElement
+Never found SVGCursorElement
+Never found SVGDefsElement
+Never found SVGDescElement
+Never found SVGDocument
+Never found SVGElement
+Never found SVGElementInstance
+Never found SVGElementInstanceList
+Never found SVGEllipseElement
 Never found SVGFEBlendElement
 Never found SVGFEColorMatrixElement
+Never found SVGFEComponentTransferElement
 Never found SVGFECompositeElement
+Never found SVGFEDiffuseLightingElement
 Never found SVGFEDisplacementMapElement
+Never found SVGFEDistantLightElement
+Never found SVGFEFloodElement
+Never found SVGFEFuncAElement
+Never found SVGFEFuncBElement
+Never found SVGFEFuncGElement
+Never found SVGFEFuncRElement
+Never found SVGFEGaussianBlurElement
+Never found SVGFEImageElement
+Never found SVGFEMergeElement
+Never found SVGFEMergeNodeElement
 Never found SVGFEMorphologyElement
+Never found SVGFEOffsetElement
+Never found SVGFEPointLightElement
+Never found SVGFESpecularLightingElement
+Never found SVGFESpotLightElement
+Never found SVGFETileElement
 Never found SVGFETurbulenceElement
+Never found SVGFilterElement
+Never found SVGFontElement
+Never found SVGFontFaceElement
+Never found SVGFontFaceFormatElement
+Never found SVGFontFaceNameElement
+Never found SVGFontFaceSrcElement
+Never found SVGFontFaceUriElement
+Never found SVGForeignObjectElement
+Never found SVGGElement
+Never found SVGGlyphElement
 Never found SVGGradientElement
+Never found SVGImageElement
 Never found SVGLength
+Never found SVGLengthList
+Never found SVGLineElement
+Never found SVGLinearGradientElement
 Never found SVGMarkerElement
+Never found SVGMaskElement
+Never found SVGMatrix
+Never found SVGMetadataElement
+Never found SVGMissingGlyphElement
+Never found SVGNumber
+Never found SVGNumberList
+Never found SVGPathElement
+Never found SVGPathSegArcAbs
+Never found SVGPathSegArcRel
+Never found SVGPathSegClosePath
 Never found SVGPathSeg
+Never found SVGPathSegCurvetoCubicAbs
+Never found SVGPathSegCurvetoCubicRel
+Never found SVGPathSegCurvetoCubicSmoothAbs
+Never found SVGPathSegCurvetoCubicSmoothRel
+Never found SVGPathSegCurvetoQuadraticAbs
+Never found SVGPathSegCurvetoQuadraticRel
+Never found SVGPathSegCurvetoQuadraticSmoothAbs
+Never found SVGPathSegCurvetoQuadraticSmoothRel
+Never found SVGPathSegLinetoAbs
+Never found SVGPathSegLinetoHorizontalAbs
+Never found SVGPathSegLinetoHorizontalRel
+Never found SVGPathSegLinetoRel
+Never found SVGPathSegLinetoVerticalAbs
+Never found SVGPathSegLinetoVerticalRel
+Never found SVGPathSegList
+Never found SVGPathSegMovetoAbs
+Never found SVGPathSegMovetoRel
+Never found SVGPatternElement
+Never found SVGPoint
+Never found SVGPointList
+Never found SVGPolygonElement
+Never found SVGPolylineElement
 Never found SVGPreserveAspectRatio
+Never found SVGRadialGradientElement
+Never found SVGRect
+Never found SVGRectElement
 Never found SVGRenderingIntent
+Never found SVGSVGElement
+Never found SVGScriptElement
+Never found SVGSetElement
+Never found SVGStopElement
+Never found SVGStringList
+Never found SVGStyleElement
+Never found SVGSwitchElement
+Never found SVGSymbolElement
+Never found SVGTRefElement
+Never found SVGTSpanElement
 Never found SVGTextContentElement
+Never found SVGTextElement
 Never found SVGTextPathElement
+Never found SVGTextPositioningElement
+Never found SVGTitleElement
 Never found SVGTransform
+Never found SVGTransformList
 Never found SVGUnitTypes
+Never found SVGUseElement
+Never found SVGViewElement
 Never found SharedWorker
 Never found StyleSheet
 Never found TextMetrics
diff --git a/LayoutTests/fast/dom/prototype-inheritance-expected.txt b/LayoutTests/fast/dom/prototype-inheritance-expected.txt
index 4fec7cc..5ecc171 100644
--- a/LayoutTests/fast/dom/prototype-inheritance-expected.txt
+++ b/LayoutTests/fast/dom/prototype-inheritance-expected.txt
@@ -269,48 +269,268 @@ PASS inner.Rect.isInner is true
 PASS inner.Rect.constructor.isInner is true
 PASS inner.ReferenceError.isInner is true
 PASS inner.ReferenceError.constructor.isInner is true
+PASS inner.SVGAElement.isInner is true
+PASS inner.SVGAElement.constructor.isInner is true
+PASS inner.SVGAltGlyphElement.isInner is true
+PASS inner.SVGAltGlyphElement.constructor.isInner is true
 PASS inner.SVGAngle.isInner is true
 PASS inner.SVGAngle.constructor.isInner is true
+PASS inner.SVGAnimateColorElement.isInner is true
+PASS inner.SVGAnimateColorElement.constructor.isInner is true
+PASS inner.SVGAnimateElement.isInner is true
+PASS inner.SVGAnimateElement.constructor.isInner is true
+PASS inner.SVGAnimateTransformElement.isInner is true
+PASS inner.SVGAnimateTransformElement.constructor.isInner is true
+PASS inner.SVGAnimatedAngle.isInner is true
+PASS inner.SVGAnimatedAngle.constructor.isInner is true
+PASS inner.SVGAnimatedBoolean.isInner is true
+PASS inner.SVGAnimatedBoolean.constructor.isInner is true
+PASS inner.SVGAnimatedEnumeration.isInner is true
+PASS inner.SVGAnimatedEnumeration.constructor.isInner is true
+PASS inner.SVGAnimatedInteger.isInner is true
+PASS inner.SVGAnimatedInteger.constructor.isInner is true
+PASS inner.SVGAnimatedLength.isInner is true
+PASS inner.SVGAnimatedLength.constructor.isInner is true
+PASS inner.SVGAnimatedLengthList.isInner is true
+PASS inner.SVGAnimatedLengthList.constructor.isInner is true
+PASS inner.SVGAnimatedNumber.isInner is true
+PASS inner.SVGAnimatedNumber.constructor.isInner is true
+PASS inner.SVGAnimatedNumberList.isInner is true
+PASS inner.SVGAnimatedNumberList.constructor.isInner is true
+PASS inner.SVGAnimatedPreserveAspectRatio.isInner is true
+PASS inner.SVGAnimatedPreserveAspectRatio.constructor.isInner is true
+PASS inner.SVGAnimatedRect.isInner is true
+PASS inner.SVGAnimatedRect.constructor.isInner is true
+PASS inner.SVGAnimatedString.isInner is true
+PASS inner.SVGAnimatedString.constructor.isInner is true
+PASS inner.SVGAnimatedTransformList.isInner is true
+PASS inner.SVGAnimatedTransformList.constructor.isInner is true
+PASS inner.SVGCircleElement.isInner is true
+PASS inner.SVGCircleElement.constructor.isInner is true
+PASS inner.SVGClipPathElement.isInner is true
+PASS inner.SVGClipPathElement.constructor.isInner is true
 PASS inner.SVGColor.isInner is true
 PASS inner.SVGColor.constructor.isInner is true
 PASS inner.SVGComponentTransferFunctionElement.isInner is true
 PASS inner.SVGComponentTransferFunctionElement.constructor.isInner is true
+PASS inner.SVGCursorElement.isInner is true
+PASS inner.SVGCursorElement.constructor.isInner is true
+PASS inner.SVGDefsElement.isInner is true
+PASS inner.SVGDefsElement.constructor.isInner is true
+PASS inner.SVGDescElement.isInner is true
+PASS inner.SVGDescElement.constructor.isInner is true
+PASS inner.SVGDocument.isInner is true
+PASS inner.SVGDocument.constructor.isInner is true
+PASS inner.SVGElement.isInner is true
+PASS inner.SVGElement.constructor.isInner is true
+PASS inner.SVGElementInstance.isInner is true
+PASS inner.SVGElementInstance.constructor.isInner is true
+PASS inner.SVGElementInstanceList.isInner is true
+PASS inner.SVGElementInstanceList.constructor.isInner is true
+PASS inner.SVGEllipseElement.isInner is true
+PASS inner.SVGEllipseElement.constructor.isInner is true
 PASS inner.SVGException.isInner is true
 PASS inner.SVGException.constructor.isInner is true
 PASS inner.SVGFEBlendElement.isInner is true
 PASS inner.SVGFEBlendElement.constructor.isInner is true
 PASS inner.SVGFEColorMatrixElement.isInner is true
 PASS inner.SVGFEColorMatrixElement.constructor.isInner is true
+PASS inner.SVGFEComponentTransferElement.isInner is true
+PASS inner.SVGFEComponentTransferElement.constructor.isInner is true
 PASS inner.SVGFECompositeElement.isInner is true
 PASS inner.SVGFECompositeElement.constructor.isInner is true
+PASS inner.SVGFEDiffuseLightingElement.isInner is true
+PASS inner.SVGFEDiffuseLightingElement.constructor.isInner is true
 PASS inner.SVGFEDisplacementMapElement.isInner is true
 PASS inner.SVGFEDisplacementMapElement.constructor.isInner is true
+PASS inner.SVGFEDistantLightElement.isInner is true
+PASS inner.SVGFEDistantLightElement.constructor.isInner is true
+PASS inner.SVGFEFloodElement.isInner is true
+PASS inner.SVGFEFloodElement.constructor.isInner is true
+PASS inner.SVGFEFuncAElement.isInner is true
+PASS inner.SVGFEFuncAElement.constructor.isInner is true
+PASS inner.SVGFEFuncBElement.isInner is true
+PASS inner.SVGFEFuncBElement.constructor.isInner is true
+PASS inner.SVGFEFuncGElement.isInner is true
+PASS inner.SVGFEFuncGElement.constructor.isInner is true
+PASS inner.SVGFEFuncRElement.isInner is true
+PASS inner.SVGFEFuncRElement.constructor.isInner is true
+PASS inner.SVGFEGaussianBlurElement.isInner is true
+PASS inner.SVGFEGaussianBlurElement.constructor.isInner is true
+PASS inner.SVGFEImageElement.isInner is true
+PASS inner.SVGFEImageElement.constructor.isInner is true
+PASS inner.SVGFEMergeElement.isInner is true
+PASS inner.SVGFEMergeElement.constructor.isInner is true
+PASS inner.SVGFEMergeNodeElement.isInner is true
+PASS inner.SVGFEMergeNodeElement.constructor.isInner is true
 PASS inner.SVGFEMorphologyElement.isInner is true
 PASS inner.SVGFEMorphologyElement.constructor.isInner is true
+PASS inner.SVGFEOffsetElement.isInner is true
+PASS inner.SVGFEOffsetElement.constructor.isInner is true
+PASS inner.SVGFEPointLightElement.isInner is true
+PASS inner.SVGFEPointLightElement.constructor.isInner is true
+PASS inner.SVGFESpecularLightingElement.isInner is true
+PASS inner.SVGFESpecularLightingElement.constructor.isInner is true
+PASS inner.SVGFESpotLightElement.isInner is true
+PASS inner.SVGFESpotLightElement.constructor.isInner is true
+PASS inner.SVGFETileElement.isInner is true
+PASS inner.SVGFETileElement.constructor.isInner is true
 PASS inner.SVGFETurbulenceElement.isInner is true
 PASS inner.SVGFETurbulenceElement.constructor.isInner is true
+PASS inner.SVGFilterElement.isInner is true
+PASS inner.SVGFilterElement.constructor.isInner is true
+PASS inner.SVGFontElement.isInner is true
+PASS inner.SVGFontElement.constructor.isInner is true
+PASS inner.SVGFontFaceElement.isInner is true
+PASS inner.SVGFontFaceElement.constructor.isInner is true
+PASS inner.SVGFontFaceFormatElement.isInner is true
+PASS inner.SVGFontFaceFormatElement.constructor.isInner is true
+PASS inner.SVGFontFaceNameElement.isInner is true
+PASS inner.SVGFontFaceNameElement.constructor.isInner is true
+PASS inner.SVGFontFaceSrcElement.isInner is true
+PASS inner.SVGFontFaceSrcElement.constructor.isInner is true
+PASS inner.SVGFontFaceUriElement.isInner is true
+PASS inner.SVGFontFaceUriElement.constructor.isInner is true
+PASS inner.SVGForeignObjectElement.isInner is true
+PASS inner.SVGForeignObjectElement.constructor.isInner is true
+PASS inner.SVGGElement.isInner is true
+PASS inner.SVGGElement.constructor.isInner is true
+PASS inner.SVGGlyphElement.isInner is true
+PASS inner.SVGGlyphElement.constructor.isInner is true
 PASS inner.SVGGradientElement.isInner is true
 PASS inner.SVGGradientElement.constructor.isInner is true
+PASS inner.SVGImageElement.isInner is true
+PASS inner.SVGImageElement.constructor.isInner is true
 PASS inner.SVGLength.isInner is true
 PASS inner.SVGLength.constructor.isInner is true
+PASS inner.SVGLengthList.isInner is true
+PASS inner.SVGLengthList.constructor.isInner is true
+PASS inner.SVGLineElement.isInner is true
+PASS inner.SVGLineElement.constructor.isInner is true
+PASS inner.SVGLinearGradientElement.isInner is true
+PASS inner.SVGLinearGradientElement.constructor.isInner is true
 PASS inner.SVGMarkerElement.isInner is true
 PASS inner.SVGMarkerElement.constructor.isInner is true
+PASS inner.SVGMaskElement.isInner is true
+PASS inner.SVGMaskElement.constructor.isInner is true
+PASS inner.SVGMatrix.isInner is true
+PASS inner.SVGMatrix.constructor.isInner is true
+PASS inner.SVGMetadataElement.isInner is true
+PASS inner.SVGMetadataElement.constructor.isInner is true
+PASS inner.SVGMissingGlyphElement.isInner is true
+PASS inner.SVGMissingGlyphElement.constructor.isInner is true
+PASS inner.SVGNumber.isInner is true
+PASS inner.SVGNumber.constructor.isInner is true
+PASS inner.SVGNumberList.isInner is true
+PASS inner.SVGNumberList.constructor.isInner is true
 PASS inner.SVGPaint.isInner is true
 PASS inner.SVGPaint.constructor.isInner is true
+PASS inner.SVGPathElement.isInner is true
+PASS inner.SVGPathElement.constructor.isInner is true
 PASS inner.SVGPathSeg.isInner is true
 PASS inner.SVGPathSeg.constructor.isInner is true
+PASS inner.SVGPathSegArcAbs.isInner is true
+PASS inner.SVGPathSegArcAbs.constructor.isInner is true
+PASS inner.SVGPathSegArcRel.isInner is true
+PASS inner.SVGPathSegArcRel.constructor.isInner is true
+PASS inner.SVGPathSegClosePath.isInner is true
+PASS inner.SVGPathSegClosePath.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoCubicAbs.isInner is true
+PASS inner.SVGPathSegCurvetoCubicAbs.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoCubicRel.isInner is true
+PASS inner.SVGPathSegCurvetoCubicRel.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoCubicSmoothAbs.isInner is true
+PASS inner.SVGPathSegCurvetoCubicSmoothAbs.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoCubicSmoothRel.isInner is true
+PASS inner.SVGPathSegCurvetoCubicSmoothRel.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticAbs.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticAbs.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticRel.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticRel.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticSmoothAbs.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticSmoothAbs.constructor.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticSmoothRel.isInner is true
+PASS inner.SVGPathSegCurvetoQuadraticSmoothRel.constructor.isInner is true
+PASS inner.SVGPathSegLinetoAbs.isInner is true
+PASS inner.SVGPathSegLinetoAbs.constructor.isInner is true
+PASS inner.SVGPathSegLinetoHorizontalAbs.isInner is true
+PASS inner.SVGPathSegLinetoHorizontalAbs.constructor.isInner is true
+PASS inner.SVGPathSegLinetoHorizontalRel.isInner is true
+PASS inner.SVGPathSegLinetoHorizontalRel.constructor.isInner is true
+PASS inner.SVGPathSegLinetoRel.isInner is true
+PASS inner.SVGPathSegLinetoRel.constructor.isInner is true
+PASS inner.SVGPathSegLinetoVerticalAbs.isInner is true
+PASS inner.SVGPathSegLinetoVerticalAbs.constructor.isInner is true
+PASS inner.SVGPathSegLinetoVerticalRel.isInner is true
+PASS inner.SVGPathSegLinetoVerticalRel.constructor.isInner is true
+PASS inner.SVGPathSegList.isInner is true
+PASS inner.SVGPathSegList.constructor.isInner is true
+PASS inner.SVGPathSegMovetoAbs.isInner is true
+PASS inner.SVGPathSegMovetoAbs.constructor.isInner is true
+PASS inner.SVGPathSegMovetoRel.isInner is true
+PASS inner.SVGPathSegMovetoRel.constructor.isInner is true
+PASS inner.SVGPatternElement.isInner is true
+PASS inner.SVGPatternElement.constructor.isInner is true
+PASS inner.SVGPoint.isInner is true
+PASS inner.SVGPoint.constructor.isInner is true
+PASS inner.SVGPointList.isInner is true
+PASS inner.SVGPointList.constructor.isInner is true
+PASS inner.SVGPolygonElement.isInner is true
+PASS inner.SVGPolygonElement.constructor.isInner is true
+PASS inner.SVGPolylineElement.isInner is true
+PASS inner.SVGPolylineElement.constructor.isInner is true
 PASS inner.SVGPreserveAspectRatio.isInner is true
 PASS inner.SVGPreserveAspectRatio.constructor.isInner is true
+PASS inner.SVGRadialGradientElement.isInner is true
+PASS inner.SVGRadialGradientElement.constructor.isInner is true
+PASS inner.SVGRect.isInner is true
+PASS inner.SVGRect.constructor.isInner is true
+PASS inner.SVGRectElement.isInner is true
+PASS inner.SVGRectElement.constructor.isInner is true
 PASS inner.SVGRenderingIntent.isInner is true
 PASS inner.SVGRenderingIntent.constructor.isInner is true
+PASS inner.SVGSVGElement.isInner is true
+PASS inner.SVGSVGElement.constructor.isInner is true
+PASS inner.SVGScriptElement.isInner is true
+PASS inner.SVGScriptElement.constructor.isInner is true
+PASS inner.SVGSetElement.isInner is true
+PASS inner.SVGSetElement.constructor.isInner is true
+PASS inner.SVGStopElement.isInner is true
+PASS inner.SVGStopElement.constructor.isInner is true
+PASS inner.SVGStringList.isInner is true
+PASS inner.SVGStringList.constructor.isInner is true
+PASS inner.SVGStyleElement.isInner is true
+PASS inner.SVGStyleElement.constructor.isInner is true
+PASS inner.SVGSwitchElement.isInner is true
+PASS inner.SVGSwitchElement.constructor.isInner is true
+PASS inner.SVGSymbolElement.isInner is true
+PASS inner.SVGSymbolElement.constructor.isInner is true
+PASS inner.SVGTRefElement.isInner is true
+PASS inner.SVGTRefElement.constructor.isInner is true
+PASS inner.SVGTSpanElement.isInner is true
+PASS inner.SVGTSpanElement.constructor.isInner is true
 PASS inner.SVGTextContentElement.isInner is true
 PASS inner.SVGTextContentElement.constructor.isInner is true
+PASS inner.SVGTextElement.isInner is true
+PASS inner.SVGTextElement.constructor.isInner is true
 PASS inner.SVGTextPathElement.isInner is true
 PASS inner.SVGTextPathElement.constructor.isInner is true
+PASS inner.SVGTextPositioningElement.isInner is true
+PASS inner.SVGTextPositioningElement.constructor.isInner is true
+PASS inner.SVGTitleElement.isInner is true
+PASS inner.SVGTitleElement.constructor.isInner is true
 PASS inner.SVGTransform.isInner is true
 PASS inner.SVGTransform.constructor.isInner is true
+PASS inner.SVGTransformList.isInner is true
+PASS inner.SVGTransformList.constructor.isInner is true
 PASS inner.SVGUnitTypes.isInner is true
 PASS inner.SVGUnitTypes.constructor.isInner is true
+PASS inner.SVGUseElement.isInner is true
+PASS inner.SVGUseElement.constructor.isInner is true
+PASS inner.SVGViewElement.isInner is true
+PASS inner.SVGViewElement.constructor.isInner is true
+PASS inner.SVGZoomEvent.isInner is true
+PASS inner.SVGZoomEvent.constructor.isInner is true
 PASS inner.SharedWorker.isInner is true
 PASS inner.SharedWorker.constructor.isInner is true
 PASS inner.Storage.isInner is true
diff --git a/LayoutTests/fast/js/global-constructors-expected.txt b/LayoutTests/fast/js/global-constructors-expected.txt
index e108d72..ea545b5 100644
--- a/LayoutTests/fast/js/global-constructors-expected.txt
+++ b/LayoutTests/fast/js/global-constructors-expected.txt
@@ -132,27 +132,137 @@ PASS RGBColor.toString() is '[object RGBColorConstructor]'
 PASS Range.toString() is '[object RangeConstructor]'
 PASS RangeException.toString() is '[object RangeExceptionConstructor]'
 PASS Rect.toString() is '[object RectConstructor]'
+PASS SVGAElement.toString() is '[object SVGAElementConstructor]'
+PASS SVGAltGlyphElement.toString() is '[object SVGAltGlyphElementConstructor]'
 PASS SVGAngle.toString() is '[object SVGAngleConstructor]'
+PASS SVGAnimateColorElement.toString() is '[object SVGAnimateColorElementConstructor]'
+PASS SVGAnimateElement.toString() is '[object SVGAnimateElementConstructor]'
+PASS SVGAnimateTransformElement.toString() is '[object SVGAnimateTransformElementConstructor]'
+PASS SVGAnimatedAngle.toString() is '[object SVGAnimatedAngleConstructor]'
+PASS SVGAnimatedBoolean.toString() is '[object SVGAnimatedBooleanConstructor]'
+PASS SVGAnimatedEnumeration.toString() is '[object SVGAnimatedEnumerationConstructor]'
+PASS SVGAnimatedInteger.toString() is '[object SVGAnimatedIntegerConstructor]'
+PASS SVGAnimatedLength.toString() is '[object SVGAnimatedLengthConstructor]'
+PASS SVGAnimatedLengthList.toString() is '[object SVGAnimatedLengthListConstructor]'
+PASS SVGAnimatedNumber.toString() is '[object SVGAnimatedNumberConstructor]'
+PASS SVGAnimatedNumberList.toString() is '[object SVGAnimatedNumberListConstructor]'
+PASS SVGAnimatedPreserveAspectRatio.toString() is '[object SVGAnimatedPreserveAspectRatioConstructor]'
+PASS SVGAnimatedRect.toString() is '[object SVGAnimatedRectConstructor]'
+PASS SVGAnimatedString.toString() is '[object SVGAnimatedStringConstructor]'
+PASS SVGAnimatedTransformList.toString() is '[object SVGAnimatedTransformListConstructor]'
+PASS SVGCircleElement.toString() is '[object SVGCircleElementConstructor]'
+PASS SVGClipPathElement.toString() is '[object SVGClipPathElementConstructor]'
 PASS SVGColor.toString() is '[object SVGColorConstructor]'
 PASS SVGComponentTransferFunctionElement.toString() is '[object SVGComponentTransferFunctionElementConstructor]'
+PASS SVGCursorElement.toString() is '[object SVGCursorElementConstructor]'
+PASS SVGDefsElement.toString() is '[object SVGDefsElementConstructor]'
+PASS SVGDescElement.toString() is '[object SVGDescElementConstructor]'
+PASS SVGDocument.toString() is '[object SVGDocumentConstructor]'
+PASS SVGElement.toString() is '[object SVGElementConstructor]'
+PASS SVGElementInstance.toString() is '[object SVGElementInstanceConstructor]'
+PASS SVGElementInstanceList.toString() is '[object SVGElementInstanceListConstructor]'
+PASS SVGEllipseElement.toString() is '[object SVGEllipseElementConstructor]'
 PASS SVGException.toString() is '[object SVGExceptionConstructor]'
 PASS SVGFEBlendElement.toString() is '[object SVGFEBlendElementConstructor]'
 PASS SVGFEColorMatrixElement.toString() is '[object SVGFEColorMatrixElementConstructor]'
+PASS SVGFEComponentTransferElement.toString() is '[object SVGFEComponentTransferElementConstructor]'
 PASS SVGFECompositeElement.toString() is '[object SVGFECompositeElementConstructor]'
+PASS SVGFEDiffuseLightingElement.toString() is '[object SVGFEDiffuseLightingElementConstructor]'
 PASS SVGFEDisplacementMapElement.toString() is '[object SVGFEDisplacementMapElementConstructor]'
+PASS SVGFEDistantLightElement.toString() is '[object SVGFEDistantLightElementConstructor]'
+PASS SVGFEFloodElement.toString() is '[object SVGFEFloodElementConstructor]'
+PASS SVGFEFuncAElement.toString() is '[object SVGFEFuncAElementConstructor]'
+PASS SVGFEFuncBElement.toString() is '[object SVGFEFuncBElementConstructor]'
+PASS SVGFEFuncGElement.toString() is '[object SVGFEFuncGElementConstructor]'
+PASS SVGFEFuncRElement.toString() is '[object SVGFEFuncRElementConstructor]'
+PASS SVGFEGaussianBlurElement.toString() is '[object SVGFEGaussianBlurElementConstructor]'
+PASS SVGFEImageElement.toString() is '[object SVGFEImageElementConstructor]'
+PASS SVGFEMergeElement.toString() is '[object SVGFEMergeElementConstructor]'
+PASS SVGFEMergeNodeElement.toString() is '[object SVGFEMergeNodeElementConstructor]'
 PASS SVGFEMorphologyElement.toString() is '[object SVGFEMorphologyElementConstructor]'
+PASS SVGFEOffsetElement.toString() is '[object SVGFEOffsetElementConstructor]'
+PASS SVGFEPointLightElement.toString() is '[object SVGFEPointLightElementConstructor]'
+PASS SVGFESpecularLightingElement.toString() is '[object SVGFESpecularLightingElementConstructor]'
+PASS SVGFESpotLightElement.toString() is '[object SVGFESpotLightElementConstructor]'
+PASS SVGFETileElement.toString() is '[object SVGFETileElementConstructor]'
 PASS SVGFETurbulenceElement.toString() is '[object SVGFETurbulenceElementConstructor]'
+PASS SVGFilterElement.toString() is '[object SVGFilterElementConstructor]'
+PASS SVGFontElement.toString() is '[object SVGFontElementConstructor]'
+PASS SVGFontFaceElement.toString() is '[object SVGFontFaceElementConstructor]'
+PASS SVGFontFaceFormatElement.toString() is '[object SVGFontFaceFormatElementConstructor]'
+PASS SVGFontFaceNameElement.toString() is '[object SVGFontFaceNameElementConstructor]'
+PASS SVGFontFaceSrcElement.toString() is '[object SVGFontFaceSrcElementConstructor]'
+PASS SVGFontFaceUriElement.toString() is '[object SVGFontFaceUriElementConstructor]'
+PASS SVGForeignObjectElement.toString() is '[object SVGForeignObjectElementConstructor]'
+PASS SVGGElement.toString() is '[object SVGGElementConstructor]'
+PASS SVGGlyphElement.toString() is '[object SVGGlyphElementConstructor]'
 PASS SVGGradientElement.toString() is '[object SVGGradientElementConstructor]'
+PASS SVGImageElement.toString() is '[object SVGImageElementConstructor]'
 PASS SVGLength.toString() is '[object SVGLengthConstructor]'
+PASS SVGLengthList.toString() is '[object SVGLengthListConstructor]'
+PASS SVGLineElement.toString() is '[object SVGLineElementConstructor]'
+PASS SVGLinearGradientElement.toString() is '[object SVGLinearGradientElementConstructor]'
 PASS SVGMarkerElement.toString() is '[object SVGMarkerElementConstructor]'
+PASS SVGMaskElement.toString() is '[object SVGMaskElementConstructor]'
+PASS SVGMatrix.toString() is '[object SVGMatrixConstructor]'
+PASS SVGMetadataElement.toString() is '[object SVGMetadataElementConstructor]'
+PASS SVGMissingGlyphElement.toString() is '[object SVGMissingGlyphElementConstructor]'
+PASS SVGNumber.toString() is '[object SVGNumberConstructor]'
+PASS SVGNumberList.toString() is '[object SVGNumberListConstructor]'
 PASS SVGPaint.toString() is '[object SVGPaintConstructor]'
+PASS SVGPathElement.toString() is '[object SVGPathElementConstructor]'
 PASS SVGPathSeg.toString() is '[object SVGPathSegConstructor]'
+PASS SVGPathSegArcAbs.toString() is '[object SVGPathSegArcAbsConstructor]'
+PASS SVGPathSegArcRel.toString() is '[object SVGPathSegArcRelConstructor]'
+PASS SVGPathSegClosePath.toString() is '[object SVGPathSegClosePathConstructor]'
+PASS SVGPathSegCurvetoCubicAbs.toString() is '[object SVGPathSegCurvetoCubicAbsConstructor]'
+PASS SVGPathSegCurvetoCubicRel.toString() is '[object SVGPathSegCurvetoCubicRelConstructor]'
+PASS SVGPathSegCurvetoCubicSmoothAbs.toString() is '[object SVGPathSegCurvetoCubicSmoothAbsConstructor]'
+PASS SVGPathSegCurvetoCubicSmoothRel.toString() is '[object SVGPathSegCurvetoCubicSmoothRelConstructor]'
+PASS SVGPathSegCurvetoQuadraticAbs.toString() is '[object SVGPathSegCurvetoQuadraticAbsConstructor]'
+PASS SVGPathSegCurvetoQuadraticRel.toString() is '[object SVGPathSegCurvetoQuadraticRelConstructor]'
+PASS SVGPathSegCurvetoQuadraticSmoothAbs.toString() is '[object SVGPathSegCurvetoQuadraticSmoothAbsConstructor]'
+PASS SVGPathSegCurvetoQuadraticSmoothRel.toString() is '[object SVGPathSegCurvetoQuadraticSmoothRelConstructor]'
+PASS SVGPathSegLinetoAbs.toString() is '[object SVGPathSegLinetoAbsConstructor]'
+PASS SVGPathSegLinetoHorizontalAbs.toString() is '[object SVGPathSegLinetoHorizontalAbsConstructor]'
+PASS SVGPathSegLinetoHorizontalRel.toString() is '[object SVGPathSegLinetoHorizontalRelConstructor]'
+PASS SVGPathSegLinetoRel.toString() is '[object SVGPathSegLinetoRelConstructor]'
+PASS SVGPathSegLinetoVerticalAbs.toString() is '[object SVGPathSegLinetoVerticalAbsConstructor]'
+PASS SVGPathSegLinetoVerticalRel.toString() is '[object SVGPathSegLinetoVerticalRelConstructor]'
+PASS SVGPathSegList.toString() is '[object SVGPathSegListConstructor]'
+PASS SVGPathSegMovetoAbs.toString() is '[object SVGPathSegMovetoAbsConstructor]'
+PASS SVGPathSegMovetoRel.toString() is '[object SVGPathSegMovetoRelConstructor]'
+PASS SVGPatternElement.toString() is '[object SVGPatternElementConstructor]'
+PASS SVGPoint.toString() is '[object SVGPointConstructor]'
+PASS SVGPointList.toString() is '[object SVGPointListConstructor]'
+PASS SVGPolygonElement.toString() is '[object SVGPolygonElementConstructor]'
+PASS SVGPolylineElement.toString() is '[object SVGPolylineElementConstructor]'
 PASS SVGPreserveAspectRatio.toString() is '[object SVGPreserveAspectRatioConstructor]'
+PASS SVGRadialGradientElement.toString() is '[object SVGRadialGradientElementConstructor]'
+PASS SVGRect.toString() is '[object SVGRectConstructor]'
+PASS SVGRectElement.toString() is '[object SVGRectElementConstructor]'
 PASS SVGRenderingIntent.toString() is '[object SVGRenderingIntentConstructor]'
+PASS SVGSVGElement.toString() is '[object SVGSVGElementConstructor]'
+PASS SVGScriptElement.toString() is '[object SVGScriptElementConstructor]'
+PASS SVGSetElement.toString() is '[object SVGSetElementConstructor]'
+PASS SVGStopElement.toString() is '[object SVGStopElementConstructor]'
+PASS SVGStringList.toString() is '[object SVGStringListConstructor]'
+PASS SVGStyleElement.toString() is '[object SVGStyleElementConstructor]'
+PASS SVGSwitchElement.toString() is '[object SVGSwitchElementConstructor]'
+PASS SVGSymbolElement.toString() is '[object SVGSymbolElementConstructor]'
+PASS SVGTRefElement.toString() is '[object SVGTRefElementConstructor]'
+PASS SVGTSpanElement.toString() is '[object SVGTSpanElementConstructor]'
 PASS SVGTextContentElement.toString() is '[object SVGTextContentElementConstructor]'
+PASS SVGTextElement.toString() is '[object SVGTextElementConstructor]'
 PASS SVGTextPathElement.toString() is '[object SVGTextPathElementConstructor]'
+PASS SVGTextPositioningElement.toString() is '[object SVGTextPositioningElementConstructor]'
+PASS SVGTitleElement.toString() is '[object SVGTitleElementConstructor]'
 PASS SVGTransform.toString() is '[object SVGTransformConstructor]'
+PASS SVGTransformList.toString() is '[object SVGTransformListConstructor]'
 PASS SVGUnitTypes.toString() is '[object SVGUnitTypesConstructor]'
+PASS SVGUseElement.toString() is '[object SVGUseElementConstructor]'
+PASS SVGViewElement.toString() is '[object SVGViewElementConstructor]'
+PASS SVGZoomEvent.toString() is '[object SVGZoomEventConstructor]'
 PASS SharedWorker.toString() is '[object SharedWorkerConstructor]'
 PASS Storage.toString() is '[object StorageConstructor]'
 PASS StorageEvent.toString() is '[object StorageEventConstructor]'
diff --git a/LayoutTests/svg/custom/global-constructors-expected.txt b/LayoutTests/svg/custom/global-constructors-expected.txt
new file mode 100644
index 0000000..2f883ca
--- /dev/null
+++ b/LayoutTests/svg/custom/global-constructors-expected.txt
@@ -0,0 +1,166 @@
+Test to make sure we expose all the global constructor objects requested by http://www.w3.org/TR/SVG11/ecmascript-binding.html
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS SVGException.toString() is '[object SVGExceptionConstructor]'
+PASS SVGElement.toString() is '[object SVGElementConstructor]'
+PASS SVGAnimatedBoolean.toString() is '[object SVGAnimatedBooleanConstructor]'
+PASS SVGAnimatedString.toString() is '[object SVGAnimatedStringConstructor]'
+PASS SVGStringList.toString() is '[object SVGStringListConstructor]'
+PASS SVGAnimatedEnumeration.toString() is '[object SVGAnimatedEnumerationConstructor]'
+PASS SVGAnimatedInteger.toString() is '[object SVGAnimatedIntegerConstructor]'
+PASS SVGNumber.toString() is '[object SVGNumberConstructor]'
+PASS SVGAnimatedNumber.toString() is '[object SVGAnimatedNumberConstructor]'
+PASS SVGNumberList.toString() is '[object SVGNumberListConstructor]'
+PASS SVGAnimatedNumberList.toString() is '[object SVGAnimatedNumberListConstructor]'
+PASS SVGLength.toString() is '[object SVGLengthConstructor]'
+PASS SVGAnimatedLength.toString() is '[object SVGAnimatedLengthConstructor]'
+PASS SVGLengthList.toString() is '[object SVGLengthListConstructor]'
+PASS SVGAnimatedLengthList.toString() is '[object SVGAnimatedLengthListConstructor]'
+PASS SVGAngle.toString() is '[object SVGAngleConstructor]'
+PASS SVGAnimatedAngle.toString() is '[object SVGAnimatedAngleConstructor]'
+PASS SVGColor.toString() is '[object SVGColorConstructor]'
+FAIL SVGICCColor.toString() should be [object SVGICCColorConstructor]. Threw exception ReferenceError: Can't find variable: SVGICCColor
+PASS SVGRect.toString() is '[object SVGRectConstructor]'
+PASS SVGAnimatedRect.toString() is '[object SVGAnimatedRectConstructor]'
+FAIL SVGStylable.toString() should be [object SVGStylableConstructor]. Threw exception ReferenceError: Can't find variable: SVGStylable
+FAIL SVGLocatable.toString() should be [object SVGLocatableConstructor]. Threw exception ReferenceError: Can't find variable: SVGLocatable
+FAIL SVGTransformable.toString() should be [object SVGTransformableConstructor]. Threw exception ReferenceError: Can't find variable: SVGTransformable
+FAIL SVGTests.toString() should be [object SVGTestsConstructor]. Threw exception ReferenceError: Can't find variable: SVGTests
+FAIL SVGLangSpace.toString() should be [object SVGLangSpaceConstructor]. Threw exception ReferenceError: Can't find variable: SVGLangSpace
+FAIL SVGExternalResourcesRequired.toString() should be [object SVGExternalResourcesRequiredConstructor]. Threw exception ReferenceError: Can't find variable: SVGExternalResourcesRequired
+FAIL SVGFitToViewBox.toString() should be [object SVGFitToViewBoxConstructor]. Threw exception ReferenceError: Can't find variable: SVGFitToViewBox
+FAIL SVGZoomAndPan.toString() should be [object SVGZoomAndPanConstructor]. Threw exception ReferenceError: Can't find variable: SVGZoomAndPan
+FAIL SVGViewSpec.toString() should be [object SVGViewSpecConstructor]. Threw exception ReferenceError: Can't find variable: SVGViewSpec
+FAIL SVGURIReference.toString() should be [object SVGURIReferenceConstructor]. Threw exception ReferenceError: Can't find variable: SVGURIReference
+FAIL SVGCSSRule.toString() should be [object SVGCSSRuleConstructor]. Threw exception ReferenceError: Can't find variable: SVGCSSRule
+PASS SVGDocument.toString() is '[object SVGDocumentConstructor]'
+PASS SVGSVGElement.toString() is '[object SVGSVGElementConstructor]'
+PASS SVGGElement.toString() is '[object SVGGElementConstructor]'
+PASS SVGDefsElement.toString() is '[object SVGDefsElementConstructor]'
+PASS SVGDescElement.toString() is '[object SVGDescElementConstructor]'
+PASS SVGTitleElement.toString() is '[object SVGTitleElementConstructor]'
+PASS SVGSymbolElement.toString() is '[object SVGSymbolElementConstructor]'
+PASS SVGUseElement.toString() is '[object SVGUseElementConstructor]'
+PASS SVGElementInstance.toString() is '[object SVGElementInstanceConstructor]'
+PASS SVGElementInstanceList.toString() is '[object SVGElementInstanceListConstructor]'
+PASS SVGImageElement.toString() is '[object SVGImageElementConstructor]'
+PASS SVGSwitchElement.toString() is '[object SVGSwitchElementConstructor]'
+PASS SVGStyleElement.toString() is '[object SVGStyleElementConstructor]'
+PASS SVGPoint.toString() is '[object SVGPointConstructor]'
+PASS SVGPointList.toString() is '[object SVGPointListConstructor]'
+PASS SVGMatrix.toString() is '[object SVGMatrixConstructor]'
+PASS SVGTransform.toString() is '[object SVGTransformConstructor]'
+PASS SVGTransformList.toString() is '[object SVGTransformListConstructor]'
+PASS SVGAnimatedTransformList.toString() is '[object SVGAnimatedTransformListConstructor]'
+PASS SVGPreserveAspectRatio.toString() is '[object SVGPreserveAspectRatioConstructor]'
+PASS SVGAnimatedPreserveAspectRatio.toString() is '[object SVGAnimatedPreserveAspectRatioConstructor]'
+PASS SVGPathSeg.toString() is '[object SVGPathSegConstructor]'
+PASS SVGPathSegClosePath.toString() is '[object SVGPathSegClosePathConstructor]'
+PASS SVGPathSegMovetoAbs.toString() is '[object SVGPathSegMovetoAbsConstructor]'
+PASS SVGPathSegMovetoRel.toString() is '[object SVGPathSegMovetoRelConstructor]'
+PASS SVGPathSegLinetoAbs.toString() is '[object SVGPathSegLinetoAbsConstructor]'
+PASS SVGPathSegLinetoRel.toString() is '[object SVGPathSegLinetoRelConstructor]'
+PASS SVGPathSegCurvetoCubicAbs.toString() is '[object SVGPathSegCurvetoCubicAbsConstructor]'
+PASS SVGPathSegCurvetoCubicRel.toString() is '[object SVGPathSegCurvetoCubicRelConstructor]'
+PASS SVGPathSegCurvetoQuadraticAbs.toString() is '[object SVGPathSegCurvetoQuadraticAbsConstructor]'
+PASS SVGPathSegCurvetoQuadraticRel.toString() is '[object SVGPathSegCurvetoQuadraticRelConstructor]'
+PASS SVGPathSegArcAbs.toString() is '[object SVGPathSegArcAbsConstructor]'
+PASS SVGPathSegArcRel.toString() is '[object SVGPathSegArcRelConstructor]'
+PASS SVGPathSegLinetoHorizontalAbs.toString() is '[object SVGPathSegLinetoHorizontalAbsConstructor]'
+PASS SVGPathSegLinetoHorizontalRel.toString() is '[object SVGPathSegLinetoHorizontalRelConstructor]'
+PASS SVGPathSegLinetoVerticalAbs.toString() is '[object SVGPathSegLinetoVerticalAbsConstructor]'
+PASS SVGPathSegLinetoVerticalRel.toString() is '[object SVGPathSegLinetoVerticalRelConstructor]'
+PASS SVGPathSegCurvetoCubicSmoothAbs.toString() is '[object SVGPathSegCurvetoCubicSmoothAbsConstructor]'
+PASS SVGPathSegCurvetoCubicSmoothRel.toString() is '[object SVGPathSegCurvetoCubicSmoothRelConstructor]'
+PASS SVGPathSegCurvetoQuadraticSmoothAbs.toString() is '[object SVGPathSegCurvetoQuadraticSmoothAbsConstructor]'
+PASS SVGPathSegCurvetoQuadraticSmoothRel.toString() is '[object SVGPathSegCurvetoQuadraticSmoothRelConstructor]'
+PASS SVGPathSegList.toString() is '[object SVGPathSegListConstructor]'
+FAIL SVGAnimatedPathData.toString() should be [object SVGAnimatedPathDataConstructor]. Threw exception ReferenceError: Can't find variable: SVGAnimatedPathData
+PASS SVGPathElement.toString() is '[object SVGPathElementConstructor]'
+PASS SVGRectElement.toString() is '[object SVGRectElementConstructor]'
+PASS SVGCircleElement.toString() is '[object SVGCircleElementConstructor]'
+PASS SVGEllipseElement.toString() is '[object SVGEllipseElementConstructor]'
+PASS SVGLineElement.toString() is '[object SVGLineElementConstructor]'
+FAIL SVGAnimatedPoints.toString() should be [object SVGAnimatedPointsConstructor]. Threw exception ReferenceError: Can't find variable: SVGAnimatedPoints
+PASS SVGPolylineElement.toString() is '[object SVGPolylineElementConstructor]'
+PASS SVGPolygonElement.toString() is '[object SVGPolygonElementConstructor]'
+PASS SVGTextContentElement.toString() is '[object SVGTextContentElementConstructor]'
+PASS SVGTextPositioningElement.toString() is '[object SVGTextPositioningElementConstructor]'
+PASS SVGTextElement.toString() is '[object SVGTextElementConstructor]'
+PASS SVGTSpanElement.toString() is '[object SVGTSpanElementConstructor]'
+PASS SVGTRefElement.toString() is '[object SVGTRefElementConstructor]'
+PASS SVGTextPathElement.toString() is '[object SVGTextPathElementConstructor]'
+PASS SVGAltGlyphElement.toString() is '[object SVGAltGlyphElementConstructor]'
+FAIL SVGAltGlyphDefElement.toString() should be [object SVGAltGlyphDefElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGAltGlyphDefElement
+FAIL SVGAltGlyphItemElement.toString() should be [object SVGAltGlyphItemElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGAltGlyphItemElement
+FAIL SVGGlyphRefElement.toString() should be [object SVGGlyphRefElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGGlyphRefElement
+PASS SVGPaint.toString() is '[object SVGPaintConstructor]'
+PASS SVGMarkerElement.toString() is '[object SVGMarkerElementConstructor]'
+FAIL SVGColorProfileElement.toString() should be [object SVGColorProfileElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGColorProfileElement
+FAIL SVGColorProfileRule.toString() should be [object SVGColorProfileRuleConstructor]. Threw exception ReferenceError: Can't find variable: SVGColorProfileRule
+PASS SVGGradientElement.toString() is '[object SVGGradientElementConstructor]'
+PASS SVGLinearGradientElement.toString() is '[object SVGLinearGradientElementConstructor]'
+PASS SVGRadialGradientElement.toString() is '[object SVGRadialGradientElementConstructor]'
+PASS SVGStopElement.toString() is '[object SVGStopElementConstructor]'
+PASS SVGPatternElement.toString() is '[object SVGPatternElementConstructor]'
+PASS SVGClipPathElement.toString() is '[object SVGClipPathElementConstructor]'
+PASS SVGMaskElement.toString() is '[object SVGMaskElementConstructor]'
+PASS SVGFilterElement.toString() is '[object SVGFilterElementConstructor]'
+FAIL SVGFilterPrimitiveStandardAttributes.toString() should be [object SVGFilterPrimitiveStandardAttributesConstructor]. Threw exception ReferenceError: Can't find variable: SVGFilterPrimitiveStandardAttributes
+PASS SVGFEBlendElement.toString() is '[object SVGFEBlendElementConstructor]'
+PASS SVGFEColorMatrixElement.toString() is '[object SVGFEColorMatrixElementConstructor]'
+PASS SVGFEComponentTransferElement.toString() is '[object SVGFEComponentTransferElementConstructor]'
+PASS SVGComponentTransferFunctionElement.toString() is '[object SVGComponentTransferFunctionElementConstructor]'
+PASS SVGFEFuncRElement.toString() is '[object SVGFEFuncRElementConstructor]'
+PASS SVGFEFuncGElement.toString() is '[object SVGFEFuncGElementConstructor]'
+PASS SVGFEFuncBElement.toString() is '[object SVGFEFuncBElementConstructor]'
+PASS SVGFEFuncAElement.toString() is '[object SVGFEFuncAElementConstructor]'
+PASS SVGFECompositeElement.toString() is '[object SVGFECompositeElementConstructor]'
+FAIL SVGFEConvolveMatrixElement.toString() should be [object SVGFEConvolveMatrixElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGFEConvolveMatrixElement
+PASS SVGFEDiffuseLightingElement.toString() is '[object SVGFEDiffuseLightingElementConstructor]'
+PASS SVGFEDistantLightElement.toString() is '[object SVGFEDistantLightElementConstructor]'
+PASS SVGFEPointLightElement.toString() is '[object SVGFEPointLightElementConstructor]'
+PASS SVGFESpotLightElement.toString() is '[object SVGFESpotLightElementConstructor]'
+PASS SVGFEDisplacementMapElement.toString() is '[object SVGFEDisplacementMapElementConstructor]'
+PASS SVGFEFloodElement.toString() is '[object SVGFEFloodElementConstructor]'
+PASS SVGFEGaussianBlurElement.toString() is '[object SVGFEGaussianBlurElementConstructor]'
+PASS SVGFEImageElement.toString() is '[object SVGFEImageElementConstructor]'
+PASS SVGFEMergeElement.toString() is '[object SVGFEMergeElementConstructor]'
+PASS SVGFEMergeNodeElement.toString() is '[object SVGFEMergeNodeElementConstructor]'
+PASS SVGFEMorphologyElement.toString() is '[object SVGFEMorphologyElementConstructor]'
+PASS SVGFEOffsetElement.toString() is '[object SVGFEOffsetElementConstructor]'
+PASS SVGFESpecularLightingElement.toString() is '[object SVGFESpecularLightingElementConstructor]'
+PASS SVGFETileElement.toString() is '[object SVGFETileElementConstructor]'
+PASS SVGFETurbulenceElement.toString() is '[object SVGFETurbulenceElementConstructor]'
+PASS SVGCursorElement.toString() is '[object SVGCursorElementConstructor]'
+PASS SVGAElement.toString() is '[object SVGAElementConstructor]'
+PASS SVGViewElement.toString() is '[object SVGViewElementConstructor]'
+PASS SVGScriptElement.toString() is '[object SVGScriptElementConstructor]'
+FAIL SVGEvent.toString() should be [object SVGEventConstructor]. Threw exception ReferenceError: Can't find variable: SVGEvent
+PASS SVGZoomEvent.toString() is '[object SVGZoomEventConstructor]'
+FAIL SVGAnimationElement.toString() should be [object SVGAnimationElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGAnimationElement
+PASS SVGAnimateElement.toString() is '[object SVGAnimateElementConstructor]'
+PASS SVGSetElement.toString() is '[object SVGSetElementConstructor]'
+FAIL SVGAnimateMotionElement.toString() should be [object SVGAnimateMotionElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGAnimateMotionElement
+FAIL SVGMPathElement.toString() should be [object SVGMPathElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGMPathElement
+PASS SVGAnimateColorElement.toString() is '[object SVGAnimateColorElementConstructor]'
+PASS SVGAnimateTransformElement.toString() is '[object SVGAnimateTransformElementConstructor]'
+PASS SVGFontElement.toString() is '[object SVGFontElementConstructor]'
+PASS SVGGlyphElement.toString() is '[object SVGGlyphElementConstructor]'
+PASS SVGMissingGlyphElement.toString() is '[object SVGMissingGlyphElementConstructor]'
+FAIL SVGHKernElement.toString() should be [object SVGHKernElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGHKernElement
+FAIL SVGVKernElement.toString() should be [object SVGVKernElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGVKernElement
+PASS SVGFontFaceElement.toString() is '[object SVGFontFaceElementConstructor]'
+PASS SVGFontFaceSrcElement.toString() is '[object SVGFontFaceSrcElementConstructor]'
+PASS SVGFontFaceUriElement.toString() is '[object SVGFontFaceUriElementConstructor]'
+PASS SVGFontFaceFormatElement.toString() is '[object SVGFontFaceFormatElementConstructor]'
+PASS SVGFontFaceNameElement.toString() is '[object SVGFontFaceNameElementConstructor]'
+FAIL SVGDefinitionSrcElement.toString() should be [object SVGDefinitionSrcElementConstructor]. Threw exception ReferenceError: Can't find variable: SVGDefinitionSrcElement
+PASS SVGMetadataElement.toString() is '[object SVGMetadataElementConstructor]'
+PASS SVGForeignObjectElement.toString() is '[object SVGForeignObjectElementConstructor]'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/custom/global-constructors.html b/LayoutTests/svg/custom/global-constructors.html
new file mode 100644
index 0000000..fc55902
--- /dev/null
+++ b/LayoutTests/svg/custom/global-constructors.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/global-constructors.js"></script>
+<script src="../../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/custom/script-tests/global-constructors.js b/LayoutTests/svg/custom/script-tests/global-constructors.js
new file mode 100644
index 0000000..9dce7d0
--- /dev/null
+++ b/LayoutTests/svg/custom/script-tests/global-constructors.js
@@ -0,0 +1,167 @@
+description("Test to make sure we expose all the global constructor objects requested by http://www.w3.org/TR/SVG11/ecmascript-binding.html");
+
+function shouldBeDefined(a)
+{
+    var constructorString = "'[object " + a + "Constructor]'";
+    shouldBe("" + a + ".toString()", constructorString);
+}
+
+shouldBeDefined("SVGException");
+shouldBeDefined("SVGElement");
+shouldBeDefined("SVGAnimatedBoolean");
+shouldBeDefined("SVGAnimatedString");
+shouldBeDefined("SVGStringList");
+shouldBeDefined("SVGAnimatedEnumeration");
+shouldBeDefined("SVGAnimatedInteger");
+shouldBeDefined("SVGNumber");
+shouldBeDefined("SVGAnimatedNumber");
+shouldBeDefined("SVGNumberList");
+shouldBeDefined("SVGAnimatedNumberList");
+shouldBeDefined("SVGLength");
+shouldBeDefined("SVGAnimatedLength");
+shouldBeDefined("SVGLengthList");
+shouldBeDefined("SVGAnimatedLengthList");
+shouldBeDefined("SVGAngle");
+shouldBeDefined("SVGAnimatedAngle");
+shouldBeDefined("SVGColor");
+shouldBeDefined("SVGICCColor");
+shouldBeDefined("SVGRect");
+shouldBeDefined("SVGAnimatedRect");
+shouldBeDefined("SVGStylable");
+shouldBeDefined("SVGLocatable");
+shouldBeDefined("SVGTransformable");
+shouldBeDefined("SVGTests");
+shouldBeDefined("SVGLangSpace");
+shouldBeDefined("SVGExternalResourcesRequired");
+shouldBeDefined("SVGFitToViewBox");
+shouldBeDefined("SVGZoomAndPan");
+shouldBeDefined("SVGViewSpec");
+shouldBeDefined("SVGURIReference");
+shouldBeDefined("SVGCSSRule");
+shouldBeDefined("SVGDocument");
+shouldBeDefined("SVGSVGElement");
+shouldBeDefined("SVGGElement");
+shouldBeDefined("SVGDefsElement");
+shouldBeDefined("SVGDescElement");
+shouldBeDefined("SVGTitleElement");
+shouldBeDefined("SVGSymbolElement");
+shouldBeDefined("SVGUseElement");
+shouldBeDefined("SVGElementInstance");
+shouldBeDefined("SVGElementInstanceList");
+shouldBeDefined("SVGImageElement");
+shouldBeDefined("SVGSwitchElement");
+shouldBeDefined("SVGStyleElement");
+shouldBeDefined("SVGPoint");
+shouldBeDefined("SVGPointList");
+shouldBeDefined("SVGMatrix");
+shouldBeDefined("SVGTransform");
+shouldBeDefined("SVGTransformList");
+shouldBeDefined("SVGAnimatedTransformList");
+shouldBeDefined("SVGPreserveAspectRatio");
+shouldBeDefined("SVGAnimatedPreserveAspectRatio");
+shouldBeDefined("SVGPathSeg");
+shouldBeDefined("SVGPathSegClosePath");
+shouldBeDefined("SVGPathSegMovetoAbs");
+shouldBeDefined("SVGPathSegMovetoRel");
+shouldBeDefined("SVGPathSegLinetoAbs");
+shouldBeDefined("SVGPathSegLinetoRel");
+shouldBeDefined("SVGPathSegCurvetoCubicAbs");
+shouldBeDefined("SVGPathSegCurvetoCubicRel");
+shouldBeDefined("SVGPathSegCurvetoQuadraticAbs");
+shouldBeDefined("SVGPathSegCurvetoQuadraticRel");
+shouldBeDefined("SVGPathSegArcAbs");
+shouldBeDefined("SVGPathSegArcRel");
+shouldBeDefined("SVGPathSegLinetoHorizontalAbs");
+shouldBeDefined("SVGPathSegLinetoHorizontalRel");
+shouldBeDefined("SVGPathSegLinetoVerticalAbs");
+shouldBeDefined("SVGPathSegLinetoVerticalRel");
+shouldBeDefined("SVGPathSegCurvetoCubicSmoothAbs");
+shouldBeDefined("SVGPathSegCurvetoCubicSmoothRel");
+shouldBeDefined("SVGPathSegCurvetoQuadraticSmoothAbs");
+shouldBeDefined("SVGPathSegCurvetoQuadraticSmoothRel");
+shouldBeDefined("SVGPathSegList");
+shouldBeDefined("SVGAnimatedPathData");
+shouldBeDefined("SVGPathElement");
+shouldBeDefined("SVGRectElement");
+shouldBeDefined("SVGCircleElement");
+shouldBeDefined("SVGEllipseElement");
+shouldBeDefined("SVGLineElement");
+shouldBeDefined("SVGAnimatedPoints");
+shouldBeDefined("SVGPolylineElement");
+shouldBeDefined("SVGPolygonElement");
+shouldBeDefined("SVGTextContentElement");
+shouldBeDefined("SVGTextPositioningElement");
+shouldBeDefined("SVGTextElement");
+shouldBeDefined("SVGTSpanElement");
+shouldBeDefined("SVGTRefElement");
+shouldBeDefined("SVGTextPathElement");
+shouldBeDefined("SVGAltGlyphElement");
+shouldBeDefined("SVGAltGlyphDefElement");
+shouldBeDefined("SVGAltGlyphItemElement");
+shouldBeDefined("SVGGlyphRefElement");
+shouldBeDefined("SVGPaint");
+shouldBeDefined("SVGMarkerElement");
+shouldBeDefined("SVGColorProfileElement");
+shouldBeDefined("SVGColorProfileRule");
+shouldBeDefined("SVGGradientElement");
+shouldBeDefined("SVGLinearGradientElement");
+shouldBeDefined("SVGRadialGradientElement");
+shouldBeDefined("SVGStopElement");
+shouldBeDefined("SVGPatternElement");
+shouldBeDefined("SVGClipPathElement");
+shouldBeDefined("SVGMaskElement");
+shouldBeDefined("SVGFilterElement");
+shouldBeDefined("SVGFilterPrimitiveStandardAttributes");
+shouldBeDefined("SVGFEBlendElement");
+shouldBeDefined("SVGFEColorMatrixElement");
+shouldBeDefined("SVGFEComponentTransferElement");
+shouldBeDefined("SVGComponentTransferFunctionElement");
+shouldBeDefined("SVGFEFuncRElement");
+shouldBeDefined("SVGFEFuncGElement");
+shouldBeDefined("SVGFEFuncBElement");
+shouldBeDefined("SVGFEFuncAElement");
+shouldBeDefined("SVGFECompositeElement");
+shouldBeDefined("SVGFEConvolveMatrixElement");
+shouldBeDefined("SVGFEDiffuseLightingElement");
+shouldBeDefined("SVGFEDistantLightElement");
+shouldBeDefined("SVGFEPointLightElement");
+shouldBeDefined("SVGFESpotLightElement");
+shouldBeDefined("SVGFEDisplacementMapElement");
+shouldBeDefined("SVGFEFloodElement");
+shouldBeDefined("SVGFEGaussianBlurElement");
+shouldBeDefined("SVGFEImageElement");
+shouldBeDefined("SVGFEMergeElement");
+shouldBeDefined("SVGFEMergeNodeElement");
+shouldBeDefined("SVGFEMorphologyElement");
+shouldBeDefined("SVGFEOffsetElement");
+shouldBeDefined("SVGFESpecularLightingElement");
+shouldBeDefined("SVGFETileElement");
+shouldBeDefined("SVGFETurbulenceElement");
+shouldBeDefined("SVGCursorElement");
+shouldBeDefined("SVGAElement");
+shouldBeDefined("SVGViewElement");
+shouldBeDefined("SVGScriptElement");
+shouldBeDefined("SVGEvent");
+shouldBeDefined("SVGZoomEvent");
+shouldBeDefined("SVGAnimationElement");
+shouldBeDefined("SVGAnimateElement");
+shouldBeDefined("SVGSetElement");
+shouldBeDefined("SVGAnimateMotionElement");
+shouldBeDefined("SVGMPathElement");
+shouldBeDefined("SVGAnimateColorElement");
+shouldBeDefined("SVGAnimateTransformElement");
+shouldBeDefined("SVGFontElement");
+shouldBeDefined("SVGGlyphElement");
+shouldBeDefined("SVGMissingGlyphElement");
+shouldBeDefined("SVGHKernElement");
+shouldBeDefined("SVGVKernElement");
+shouldBeDefined("SVGFontFaceElement");
+shouldBeDefined("SVGFontFaceSrcElement");
+shouldBeDefined("SVGFontFaceUriElement");
+shouldBeDefined("SVGFontFaceFormatElement");
+shouldBeDefined("SVGFontFaceNameElement");
+shouldBeDefined("SVGDefinitionSrcElement");
+shouldBeDefined("SVGMetadataElement");
+shouldBeDefined("SVGForeignObjectElement");
+
+var successfullyParsed = true;
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 73cea42..060d741 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,20 @@
+2009-12-25  Nikolas Zimmermann  <nzimmermann at rim.com>
+
+        Reviewed by Dirk Schulze.
+
+        DOMWindow is missing lots of SVG* constructor objects
+        https://bugs.webkit.org/show_bug.cgi?id=20430
+
+        Expose all implemented SVG 1.1 constructors.
+
+        Test: svg/custom/global-constructors.js
+
+        * bindings/v8/V8Index.cpp: Add missing includes for SVGFontFaceElement & SVGMissingGlyphElement
+        * bindings/v8/V8Index.h: Add misisng SVGFontFaceElement & SVGMissingGlyphElement declarations.
+        * page/DOMWindow.idl: Add a bunch of new SVG object ctors.
+        * svg/SVGAnimatedPathData.idl: Add OmitConstructor flag, as this is a SVG MI class, which is not exposable at the moment.
+        * svg/SVGAnimatedPoints.idl: Ditto.
+
 2009-12-25  Alexander Pavlov  <apavlov at chromium.org>
 
         Reviewed by Pavel Feldman.
diff --git a/WebCore/bindings/v8/V8Index.cpp b/WebCore/bindings/v8/V8Index.cpp
index a5b2e6d..5716ebd 100644
--- a/WebCore/bindings/v8/V8Index.cpp
+++ b/WebCore/bindings/v8/V8Index.cpp
@@ -249,11 +249,13 @@
 #endif
 
 #if ENABLE(SVG_FONTS)
+#include "V8SVGFontElement.h"
 #include "V8SVGFontFaceElement.h"
 #include "V8SVGFontFaceFormatElement.h"
 #include "V8SVGFontFaceNameElement.h"
 #include "V8SVGFontFaceSrcElement.h"
 #include "V8SVGFontFaceUriElement.h"
+#include "V8SVGMissingGlyphElement.h"
 #endif
 
 #if ENABLE(SVG_FOREIGN_OBJECT)
diff --git a/WebCore/bindings/v8/V8Index.h b/WebCore/bindings/v8/V8Index.h
index 2cb3c29..2d00fe3 100644
--- a/WebCore/bindings/v8/V8Index.h
+++ b/WebCore/bindings/v8/V8Index.h
@@ -230,11 +230,13 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
 
 #if ENABLE(SVG_FONTS)
 #define SVG_FONTS_ELEMENT_TYPES(V)                                      \
+    V(SVGFONTELEMENT, SVGFontElement)                                   \
     V(SVGFONTFACEELEMENT, SVGFontFaceElement)                           \
     V(SVGFONTFACEFORMATELEMENT, SVGFontFaceFormatElement)               \
     V(SVGFONTFACENAMEELEMENT, SVGFontFaceNameElement)                   \
     V(SVGFONTFACESRCELEMENT, SVGFontFaceSrcElement)                     \
-    V(SVGFONTFACEURIELEMENT, SVGFontFaceUriElement)
+    V(SVGFONTFACEURIELEMENT, SVGFontFaceUriElement)                     \
+    V(SVGMISSINGGLYPHELEMENT, SVGMissingGlyphElement)
 #else
 #define SVG_FONTS_ELEMENT_TYPES(V)
 #endif
diff --git a/WebCore/page/DOMWindow.idl b/WebCore/page/DOMWindow.idl
index 9fd7b49..1bd6284 100644
--- a/WebCore/page/DOMWindow.idl
+++ b/WebCore/page/DOMWindow.idl
@@ -543,32 +543,163 @@ module window {
 #endif
 
 #if defined(ENABLE_SVG) && ENABLE_SVG
+        // Expose all implemented SVG 1.1 interfaces, excluding the SVG MI interfaces:
+        // SVGAnimatedPathData, SVGAnimatedPoints, SVGExternalResourcesRequired,
+        // SVGFilterPrimitiveStandardAttributes, SVGFitToViewBox, SVGLangSpace, SVGLocatable
+        // SVGStylable, SVGTests, SVGTransformable, SVGURIReference, SVGZoomAndPan
+        attribute SVGAElementConstructor SVGAElement;
         attribute SVGAngleConstructor SVGAngle;
+        attribute SVGAnimatedAngleConstructor SVGAnimatedAngle;
+        attribute SVGAnimatedBooleanConstructor SVGAnimatedBoolean;
+        attribute SVGAnimatedEnumerationConstructor SVGAnimatedEnumeration;
+        attribute SVGAnimatedIntegerConstructor SVGAnimatedInteger;
+        attribute SVGAnimatedLengthConstructor SVGAnimatedLength;
+        attribute SVGAnimatedLengthListConstructor SVGAnimatedLengthList;
+        attribute SVGAnimatedNumberConstructor SVGAnimatedNumber;
+        attribute SVGAnimatedNumberListConstructor SVGAnimatedNumberList;
+        attribute SVGAnimatedPreserveAspectRatioConstructor SVGAnimatedPreserveAspectRatio;
+        attribute SVGAnimatedRectConstructor SVGAnimatedRect;
+        attribute SVGAnimatedStringConstructor SVGAnimatedString;
+        attribute SVGAnimatedTransformListConstructor SVGAnimatedTransformList;
+        attribute SVGCircleElementConstructor SVGCircleElement;
+        attribute SVGClipPathElementConstructor SVGClipPathElement;
         attribute SVGColorConstructor SVGColor;
+        attribute SVGCursorElementConstructor SVGCursorElement;
 //      attribute SVGCSSRuleConstructor SVGCSSRule;
+        attribute SVGDefsElementConstructor SVGDefsElement;
+        attribute SVGDescElementConstructor SVGDescElement;
+        attribute SVGDocumentConstructor SVGDocument;
+        attribute SVGElementConstructor SVGElement;
+        attribute SVGElementInstanceConstructor SVGElementInstance;
+        attribute SVGElementInstanceListConstructor SVGElementInstanceList;
+        attribute SVGEllipseElementConstructor SVGEllipseElement;
         attribute SVGExceptionConstructor SVGException;
+        attribute SVGGElementConstructor SVGGElement;
         attribute SVGGradientElementConstructor SVGGradientElement;
+        attribute SVGImageElementConstructor SVGImageElement;
         attribute SVGLengthConstructor SVGLength;
+        attribute SVGLengthListConstructor SVGLengthList;
+        attribute SVGLinearGradientElementConstructor SVGLinearGradientElement;
+        attribute SVGLineElementConstructor SVGLineElement;
         attribute SVGMarkerElementConstructor SVGMarkerElement;
+        attribute SVGMaskElementConstructor SVGMaskElement;
+        attribute SVGMatrixConstructor SVGMatrix;
+        attribute SVGMetadataElementConstructor SVGMetadataElement;
+        attribute SVGNumberConstructor SVGNumber;
+        attribute SVGNumberListConstructor SVGNumberList;
         attribute SVGPaintConstructor SVGPaint;
+        attribute SVGPathElementConstructor SVGPathElement;
         attribute SVGPathSegConstructor SVGPathSeg;
+        attribute SVGPathSegArcAbsConstructor SVGPathSegArcAbs;
+        attribute SVGPathSegArcRelConstructor SVGPathSegArcRel;
+        attribute SVGPathSegClosePathConstructor SVGPathSegClosePath;
+        attribute SVGPathSegCurvetoCubicAbsConstructor SVGPathSegCurvetoCubicAbs;
+        attribute SVGPathSegCurvetoCubicRelConstructor SVGPathSegCurvetoCubicRel;
+        attribute SVGPathSegCurvetoCubicSmoothAbsConstructor SVGPathSegCurvetoCubicSmoothAbs;
+        attribute SVGPathSegCurvetoCubicSmoothRelConstructor SVGPathSegCurvetoCubicSmoothRel;
+        attribute SVGPathSegCurvetoQuadraticAbsConstructor SVGPathSegCurvetoQuadraticAbs;
+        attribute SVGPathSegCurvetoQuadraticRelConstructor SVGPathSegCurvetoQuadraticRel;
+        attribute SVGPathSegCurvetoQuadraticSmoothAbsConstructor SVGPathSegCurvetoQuadraticSmoothAbs;
+        attribute SVGPathSegCurvetoQuadraticSmoothRelConstructor SVGPathSegCurvetoQuadraticSmoothRel;
+        attribute SVGPathSegLinetoAbsConstructor SVGPathSegLinetoAbs;
+        attribute SVGPathSegLinetoHorizontalAbsConstructor SVGPathSegLinetoHorizontalAbs;
+        attribute SVGPathSegLinetoHorizontalRelConstructor SVGPathSegLinetoHorizontalRel;
+        attribute SVGPathSegLinetoRelConstructor SVGPathSegLinetoRel;
+        attribute SVGPathSegLinetoVerticalAbsConstructor SVGPathSegLinetoVerticalAbs;
+        attribute SVGPathSegLinetoVerticalRelConstructor SVGPathSegLinetoVerticalRel;
+        attribute SVGPathSegListConstructor SVGPathSegList;
+        attribute SVGPathSegMovetoAbsConstructor SVGPathSegMovetoAbs;
+        attribute SVGPathSegMovetoRelConstructor SVGPathSegMovetoRel;
+        attribute SVGPatternElementConstructor SVGPatternElement;
+        attribute SVGPointConstructor SVGPoint;
+        attribute SVGPointListConstructor SVGPointList;
+        attribute SVGPolygonElementConstructor SVGPolygonElement;
+        attribute SVGPolylineElementConstructor SVGPolylineElement;
         attribute SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio;
+        attribute SVGRadialGradientElementConstructor SVGRadialGradientElement;
+        attribute SVGRectConstructor SVGRect;
+        attribute SVGRectElementConstructor SVGRectElement;
         attribute SVGRenderingIntentConstructor SVGRenderingIntent;
+        attribute SVGScriptElementConstructor SVGScriptElement;
+        attribute SVGStopElementConstructor SVGStopElement;
+        attribute SVGStringListConstructor SVGStringList;
+        attribute SVGStyleElementConstructor SVGStyleElement;
+        attribute SVGSVGElementConstructor SVGSVGElement;
+        attribute SVGSwitchElementConstructor SVGSwitchElement;
+        attribute SVGSymbolElementConstructor SVGSymbolElement;
         attribute SVGTextContentElementConstructor SVGTextContentElement;
+        attribute SVGTextElementConstructor SVGTextElement;
         attribute SVGTextPathElementConstructor SVGTextPathElement;
+        attribute SVGTextPositioningElementConstructor SVGTextPositioningElement;
+        attribute SVGTitleElementConstructor SVGTitleElement;
         attribute SVGTransformConstructor SVGTransform;
+        attribute SVGTransformListConstructor SVGTransformList;
+        attribute SVGTRefElementConstructor SVGTRefElement;
+        attribute SVGTSpanElementConstructor SVGTSpanElement;
         attribute SVGUnitTypesConstructor SVGUnitTypes;
-//      attribute SVGZoomAndPanConstructor SVGZoomAndPan;
+        attribute SVGUseElementConstructor SVGUseElement;
+        attribute SVGViewElementConstructor SVGViewElement;
+//      attribute SVGViewSpecConstructor SVGViewSpec;
+        attribute SVGZoomEventConstructor SVGZoomEvent;
+
+#if defined(ENABLE_SVG_ANIMATION) && ENABLE_SVG_ANIMATION
+        attribute SVGAnimateColorElementConstructor SVGAnimateColorElement;
+        attribute SVGAnimateElementConstructor SVGAnimateElement;
+//      attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement;
+        attribute SVGAnimateTransformElementConstructor SVGAnimateTransformElement;
+//      attribute SVGMPathElementConstructor SVGMPathElement;
+        attribute SVGSetElementConstructor SVGSetElement;
+#endif
+
+#if ENABLE_SVG_FONTS && ENABLE_SVG_FONTS
+//      attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
+        attribute SVGAltGlyphElementConstructor SVGAltGlyphElement;
+//      attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
+//      attribute SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement;
+        attribute SVGFontElementConstructor SVGFontElement;
+        attribute SVGFontFaceElementConstructor SVGFontFaceElement;
+        attribute SVGFontFaceFormatElementConstructor SVGFontFaceFormatElement;
+        attribute SVGFontFaceNameElementConstructor SVGFontFaceNameElement;
+        attribute SVGFontFaceSrcElementConstructor SVGFontFaceSrcElement;
+        attribute SVGFontFaceUriElementConstructor SVGFontFaceUriElement;
+        attribute SVGGlyphElementConstructor SVGGlyphElement;
+//      attribute SVGGlyphRefElementConstructor SVGGlyphRefElement;
+//      attribute SVGHKernElementConstructor SVGHKernElement;
+        attribute SVGMissingGlyphElementConstructor SVGMissingGlyphElement;
+//      attribute SVGVKernElementConstructor SVGVKernElement;
+#endif
+
+#if defined(ENABLE_SVG_FOREIGN_OBJECT) && ENABLE_SVG_FOREIGN_OBJECT
+        attribute SVGForeignObjectElementConstructor SVGForeignObjectElement;
+#endif
 
 #if defined(ENABLE_FILTERS) && ENABLE_FILTERS
         attribute SVGComponentTransferFunctionElementConstructor SVGComponentTransferFunctionElement;
         attribute SVGFEBlendElementConstructor SVGFEBlendElement;
         attribute SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement;
+        attribute SVGFEComponentTransferElementConstructor SVGFEComponentTransferElement;
         attribute SVGFECompositeElementConstructor SVGFECompositeElement;
 //      attribute SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixElement;
+        attribute SVGFEDiffuseLightingElementConstructor SVGFEDiffuseLightingElement;
         attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement;
+        attribute SVGFEDistantLightElementConstructor SVGFEDistantLightElement;
+        attribute SVGFEFloodElementConstructor SVGFEFloodElement;
+        attribute SVGFEFuncAElementConstructor SVGFEFuncAElement;
+        attribute SVGFEFuncBElementConstructor SVGFEFuncBElement;
+        attribute SVGFEFuncGElementConstructor SVGFEFuncGElement;
+        attribute SVGFEFuncRElementConstructor SVGFEFuncRElement;
+        attribute SVGFEGaussianBlurElementConstructor SVGFEGaussianBlurElement;
+        attribute SVGFEImageElementConstructor SVGFEImageElement;
+        attribute SVGFEMergeElementConstructor SVGFEMergeElement;
+        attribute SVGFEMergeNodeElementConstructor SVGFEMergeNodeElement;
         attribute SVGFEMorphologyElementConstructor SVGFEMorphologyElement;
+        attribute SVGFEOffsetElementConstructor SVGFEOffsetElement;
+        attribute SVGFEPointLightElementConstructor SVGFEPointLightElement;
+        attribute SVGFESpecularLightingElementConstructor SVGFESpecularLightingElement;
+        attribute SVGFESpotLightElementConstructor SVGFESpotLightElement;
+        attribute SVGFETileElementConstructor SVGFETileElement;
         attribute SVGFETurbulenceElementConstructor SVGFETurbulenceElement;
+        attribute SVGFilterElementConstructor SVGFilterElement;
 #endif
 #endif
 
diff --git a/WebCore/svg/SVGAnimatedPathData.idl b/WebCore/svg/SVGAnimatedPathData.idl
index 46ec7b1..63a5209 100644
--- a/WebCore/svg/SVGAnimatedPathData.idl
+++ b/WebCore/svg/SVGAnimatedPathData.idl
@@ -25,7 +25,7 @@
 
 module svg {
 
-    interface [Conditional=SVG, ObjCProtocol] SVGAnimatedPathData {
+    interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGAnimatedPathData {
         readonly attribute SVGPathSegList   pathSegList;
         readonly attribute SVGPathSegList   normalizedPathSegList;
         readonly attribute SVGPathSegList   animatedPathSegList;
diff --git a/WebCore/svg/SVGAnimatedPoints.idl b/WebCore/svg/SVGAnimatedPoints.idl
index 877f684..056b139 100644
--- a/WebCore/svg/SVGAnimatedPoints.idl
+++ b/WebCore/svg/SVGAnimatedPoints.idl
@@ -25,7 +25,7 @@
 
 module svg {
 
-    interface [Conditional=SVG, ObjCProtocol] SVGAnimatedPoints {
+    interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGAnimatedPoints {
         readonly attribute SVGPointList   points;
         readonly attribute SVGPointList   animatedPoints;
     };

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list