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 12 matching lines...) Expand all Loading... |
23 shouldBeDefined("SVGAngle"); | 23 shouldBeDefined("SVGAngle"); |
24 shouldBeDefined("SVGAnimatedAngle"); | 24 shouldBeDefined("SVGAnimatedAngle"); |
25 shouldBeDefined("SVGColor"); | 25 shouldBeDefined("SVGColor"); |
26 shouldBeDefined("SVGICCColor"); | 26 shouldBeDefined("SVGICCColor"); |
27 shouldBeDefined("SVGRect"); | 27 shouldBeDefined("SVGRect"); |
28 shouldBeDefined("SVGAnimatedRect"); | 28 shouldBeDefined("SVGAnimatedRect"); |
29 shouldBeDefined("SVGStylable"); | 29 shouldBeDefined("SVGStylable"); |
30 shouldBeDefined("SVGLocatable"); | 30 shouldBeDefined("SVGLocatable"); |
31 shouldBeDefined("SVGTransformable"); | 31 shouldBeDefined("SVGTransformable"); |
32 shouldBeDefined("SVGTests"); | 32 shouldBeDefined("SVGTests"); |
33 shouldBeDefined("SVGLangSpace"); | |
34 shouldBeDefined("SVGViewSpec"); | 33 shouldBeDefined("SVGViewSpec"); |
35 shouldBeDefined("SVGURIReference"); | 34 shouldBeDefined("SVGURIReference"); |
36 shouldBeDefined("SVGCSSRule"); | 35 shouldBeDefined("SVGCSSRule"); |
37 shouldBeDefined("SVGDocument"); | 36 shouldBeDefined("SVGDocument"); |
38 shouldBeDefined("SVGSVGElement"); | 37 shouldBeDefined("SVGSVGElement"); |
39 shouldBeDefined("SVGGElement"); | 38 shouldBeDefined("SVGGElement"); |
40 shouldBeDefined("SVGDefsElement"); | 39 shouldBeDefined("SVGDefsElement"); |
41 shouldBeDefined("SVGDescElement"); | 40 shouldBeDefined("SVGDescElement"); |
42 shouldBeDefined("SVGTitleElement"); | 41 shouldBeDefined("SVGTitleElement"); |
43 shouldBeDefined("SVGSymbolElement"); | 42 shouldBeDefined("SVGSymbolElement"); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 shouldBeDefined("SVGFontFaceElement"); | 152 shouldBeDefined("SVGFontFaceElement"); |
154 shouldBeDefined("SVGFontFaceSrcElement"); | 153 shouldBeDefined("SVGFontFaceSrcElement"); |
155 shouldBeDefined("SVGFontFaceUriElement"); | 154 shouldBeDefined("SVGFontFaceUriElement"); |
156 shouldBeDefined("SVGFontFaceFormatElement"); | 155 shouldBeDefined("SVGFontFaceFormatElement"); |
157 shouldBeDefined("SVGFontFaceNameElement"); | 156 shouldBeDefined("SVGFontFaceNameElement"); |
158 shouldBeDefined("SVGDefinitionSrcElement"); | 157 shouldBeDefined("SVGDefinitionSrcElement"); |
159 shouldBeDefined("SVGMetadataElement"); | 158 shouldBeDefined("SVGMetadataElement"); |
160 shouldBeDefined("SVGForeignObjectElement"); | 159 shouldBeDefined("SVGForeignObjectElement"); |
161 | 160 |
162 var successfullyParsed = true; | 161 var successfullyParsed = true; |
OLD | NEW |