| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 shouldBeDefined("SVGFEMorphologyElement"); | 98 shouldBeDefined("SVGFEMorphologyElement"); |
| 99 shouldBeDefined("SVGFEOffsetElement"); | 99 shouldBeDefined("SVGFEOffsetElement"); |
| 100 shouldBeDefined("SVGFESpecularLightingElement"); | 100 shouldBeDefined("SVGFESpecularLightingElement"); |
| 101 shouldBeDefined("SVGFETileElement"); | 101 shouldBeDefined("SVGFETileElement"); |
| 102 shouldBeDefined("SVGFETurbulenceElement"); | 102 shouldBeDefined("SVGFETurbulenceElement"); |
| 103 shouldBeDefined("SVGCursorElement"); | 103 shouldBeDefined("SVGCursorElement"); |
| 104 shouldBeDefined("SVGAElement"); | 104 shouldBeDefined("SVGAElement"); |
| 105 shouldBeDefined("SVGViewElement"); | 105 shouldBeDefined("SVGViewElement"); |
| 106 shouldBeDefined("SVGScriptElement"); | 106 shouldBeDefined("SVGScriptElement"); |
| 107 shouldBeDefined("SVGEvent"); | 107 shouldBeDefined("SVGEvent"); |
| 108 shouldBeDefined("SVGZoomEvent"); | |
| 109 shouldBeDefined("SVGAnimationElement"); | 108 shouldBeDefined("SVGAnimationElement"); |
| 110 shouldBeDefined("SVGAnimateElement"); | 109 shouldBeDefined("SVGAnimateElement"); |
| 111 shouldBeDefined("SVGSetElement"); | 110 shouldBeDefined("SVGSetElement"); |
| 112 shouldBeDefined("SVGAnimateMotionElement"); | 111 shouldBeDefined("SVGAnimateMotionElement"); |
| 113 shouldBeDefined("SVGMPathElement"); | 112 shouldBeDefined("SVGMPathElement"); |
| 114 shouldBeDefined("SVGAnimateColorElement"); | 113 shouldBeDefined("SVGAnimateColorElement"); |
| 115 shouldBeDefined("SVGAnimateTransformElement"); | 114 shouldBeDefined("SVGAnimateTransformElement"); |
| 116 shouldBeDefined("SVGDefinitionSrcElement"); | 115 shouldBeDefined("SVGDefinitionSrcElement"); |
| 117 shouldBeDefined("SVGMetadataElement"); | 116 shouldBeDefined("SVGMetadataElement"); |
| 118 shouldBeDefined("SVGForeignObjectElement"); | 117 shouldBeDefined("SVGForeignObjectElement"); |
| 119 | 118 |
| 120 var successfullyParsed = true; | 119 var successfullyParsed = true; |
| OLD | NEW |