OLD | NEW |
1 description("Test to make sure we expose all the global constructor objects requ
ested by http://www.w3.org/TR/SVG11/ecmascript-binding.html"); | 1 description("Test to make sure we expose all the global constructor objects requ
ested by http://www.w3.org/TR/SVG11/ecmascript-binding.html"); |
2 | 2 |
3 function shouldBeDefined(a) | 3 function shouldBeDefined(a) |
4 { | 4 { |
5 var constructorString = "'function " + a + "() { [native code] }'"; | 5 var constructorString = "'function " + a + "() { [native code] }'"; |
6 shouldBe("" + a + ".toString()", constructorString); | 6 shouldBe("" + a + ".toString()", constructorString); |
7 } | 7 } |
8 | 8 |
9 shouldBeDefined("SVGElement"); | 9 shouldBeDefined("SVGElement"); |
10 shouldBeDefined("SVGAnimatedBoolean"); | 10 shouldBeDefined("SVGAnimatedBoolean"); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 shouldBeDefined("SVGEllipseElement"); | 78 shouldBeDefined("SVGEllipseElement"); |
79 shouldBeDefined("SVGLineElement"); | 79 shouldBeDefined("SVGLineElement"); |
80 shouldBeDefined("SVGAnimatedPoints"); | 80 shouldBeDefined("SVGAnimatedPoints"); |
81 shouldBeDefined("SVGPolylineElement"); | 81 shouldBeDefined("SVGPolylineElement"); |
82 shouldBeDefined("SVGPolygonElement"); | 82 shouldBeDefined("SVGPolygonElement"); |
83 shouldBeDefined("SVGTextContentElement"); | 83 shouldBeDefined("SVGTextContentElement"); |
84 shouldBeDefined("SVGTextPositioningElement"); | 84 shouldBeDefined("SVGTextPositioningElement"); |
85 shouldBeDefined("SVGTextElement"); | 85 shouldBeDefined("SVGTextElement"); |
86 shouldBeDefined("SVGTSpanElement"); | 86 shouldBeDefined("SVGTSpanElement"); |
87 shouldBeDefined("SVGTextPathElement"); | 87 shouldBeDefined("SVGTextPathElement"); |
88 shouldBeDefined("SVGAltGlyphElement"); | |
89 shouldBeDefined("SVGAltGlyphDefElement"); | |
90 shouldBeDefined("SVGAltGlyphItemElement"); | |
91 shouldBeDefined("SVGGlyphRefElement"); | |
92 shouldBeDefined("SVGMarkerElement"); | 88 shouldBeDefined("SVGMarkerElement"); |
93 shouldBeDefined("SVGColorProfileElement"); | 89 shouldBeDefined("SVGColorProfileElement"); |
94 shouldBeDefined("SVGColorProfileRule"); | 90 shouldBeDefined("SVGColorProfileRule"); |
95 shouldBeDefined("SVGGradientElement"); | 91 shouldBeDefined("SVGGradientElement"); |
96 shouldBeDefined("SVGLinearGradientElement"); | 92 shouldBeDefined("SVGLinearGradientElement"); |
97 shouldBeDefined("SVGRadialGradientElement"); | 93 shouldBeDefined("SVGRadialGradientElement"); |
98 shouldBeDefined("SVGStopElement"); | 94 shouldBeDefined("SVGStopElement"); |
99 shouldBeDefined("SVGPatternElement"); | 95 shouldBeDefined("SVGPatternElement"); |
100 shouldBeDefined("SVGClipPathElement"); | 96 shouldBeDefined("SVGClipPathElement"); |
101 shouldBeDefined("SVGMaskElement"); | 97 shouldBeDefined("SVGMaskElement"); |
(...skipping 30 matching lines...) Expand all Loading... |
132 shouldBeDefined("SVGScriptElement"); | 128 shouldBeDefined("SVGScriptElement"); |
133 shouldBeDefined("SVGEvent"); | 129 shouldBeDefined("SVGEvent"); |
134 shouldBeDefined("SVGZoomEvent"); | 130 shouldBeDefined("SVGZoomEvent"); |
135 shouldBeDefined("SVGAnimationElement"); | 131 shouldBeDefined("SVGAnimationElement"); |
136 shouldBeDefined("SVGAnimateElement"); | 132 shouldBeDefined("SVGAnimateElement"); |
137 shouldBeDefined("SVGSetElement"); | 133 shouldBeDefined("SVGSetElement"); |
138 shouldBeDefined("SVGAnimateMotionElement"); | 134 shouldBeDefined("SVGAnimateMotionElement"); |
139 shouldBeDefined("SVGMPathElement"); | 135 shouldBeDefined("SVGMPathElement"); |
140 shouldBeDefined("SVGAnimateColorElement"); | 136 shouldBeDefined("SVGAnimateColorElement"); |
141 shouldBeDefined("SVGAnimateTransformElement"); | 137 shouldBeDefined("SVGAnimateTransformElement"); |
142 shouldBeDefined("SVGFontElement"); | |
143 shouldBeDefined("SVGGlyphElement"); | |
144 shouldBeDefined("SVGMissingGlyphElement"); | |
145 shouldBeDefined("SVGHKernElement"); | |
146 shouldBeDefined("SVGVKernElement"); | |
147 shouldBeDefined("SVGFontFaceElement"); | |
148 shouldBeDefined("SVGFontFaceSrcElement"); | |
149 shouldBeDefined("SVGFontFaceUriElement"); | |
150 shouldBeDefined("SVGFontFaceFormatElement"); | |
151 shouldBeDefined("SVGFontFaceNameElement"); | |
152 shouldBeDefined("SVGDefinitionSrcElement"); | 138 shouldBeDefined("SVGDefinitionSrcElement"); |
153 shouldBeDefined("SVGMetadataElement"); | 139 shouldBeDefined("SVGMetadataElement"); |
154 shouldBeDefined("SVGForeignObjectElement"); | 140 shouldBeDefined("SVGForeignObjectElement"); |
155 | 141 |
156 var successfullyParsed = true; | 142 var successfullyParsed = true; |
OLD | NEW |