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 22 matching lines...) Expand all Loading... |
33 shouldBeDefined("SVGCSSRule"); | 33 shouldBeDefined("SVGCSSRule"); |
34 shouldBeDefined("SVGSVGElement"); | 34 shouldBeDefined("SVGSVGElement"); |
35 shouldBeDefined("SVGGElement"); | 35 shouldBeDefined("SVGGElement"); |
36 shouldBeDefined("SVGDefsElement"); | 36 shouldBeDefined("SVGDefsElement"); |
37 shouldBeDefined("SVGDescElement"); | 37 shouldBeDefined("SVGDescElement"); |
38 shouldBeDefined("SVGDiscardElement"); | 38 shouldBeDefined("SVGDiscardElement"); |
39 shouldBeDefined("SVGTitleElement"); | 39 shouldBeDefined("SVGTitleElement"); |
40 shouldBeDefined("SVGSymbolElement"); | 40 shouldBeDefined("SVGSymbolElement"); |
41 shouldBeDefined("SVGUseElement"); | 41 shouldBeDefined("SVGUseElement"); |
42 shouldBeDefined("SVGElementInstance"); | 42 shouldBeDefined("SVGElementInstance"); |
43 shouldBeDefined("SVGElementInstanceList"); | |
44 shouldBeDefined("SVGImageElement"); | 43 shouldBeDefined("SVGImageElement"); |
45 shouldBeDefined("SVGSwitchElement"); | 44 shouldBeDefined("SVGSwitchElement"); |
46 shouldBeDefined("SVGStyleElement"); | 45 shouldBeDefined("SVGStyleElement"); |
47 shouldBeDefined("SVGPoint"); | 46 shouldBeDefined("SVGPoint"); |
48 shouldBeDefined("SVGPointList"); | 47 shouldBeDefined("SVGPointList"); |
49 shouldBeDefined("SVGMatrix"); | 48 shouldBeDefined("SVGMatrix"); |
50 shouldBeDefined("SVGTransform"); | 49 shouldBeDefined("SVGTransform"); |
51 shouldBeDefined("SVGTransformList"); | 50 shouldBeDefined("SVGTransformList"); |
52 shouldBeDefined("SVGAnimatedTransformList"); | 51 shouldBeDefined("SVGAnimatedTransformList"); |
53 shouldBeDefined("SVGPreserveAspectRatio"); | 52 shouldBeDefined("SVGPreserveAspectRatio"); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 shouldBeDefined("SVGFontFaceElement"); | 148 shouldBeDefined("SVGFontFaceElement"); |
150 shouldBeDefined("SVGFontFaceSrcElement"); | 149 shouldBeDefined("SVGFontFaceSrcElement"); |
151 shouldBeDefined("SVGFontFaceUriElement"); | 150 shouldBeDefined("SVGFontFaceUriElement"); |
152 shouldBeDefined("SVGFontFaceFormatElement"); | 151 shouldBeDefined("SVGFontFaceFormatElement"); |
153 shouldBeDefined("SVGFontFaceNameElement"); | 152 shouldBeDefined("SVGFontFaceNameElement"); |
154 shouldBeDefined("SVGDefinitionSrcElement"); | 153 shouldBeDefined("SVGDefinitionSrcElement"); |
155 shouldBeDefined("SVGMetadataElement"); | 154 shouldBeDefined("SVGMetadataElement"); |
156 shouldBeDefined("SVGForeignObjectElement"); | 155 shouldBeDefined("SVGForeignObjectElement"); |
157 | 156 |
158 var successfullyParsed = true; | 157 var successfullyParsed = true; |
OLD | NEW |