Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: LayoutTests/svg/custom/script-tests/global-constructors.js

Issue 114373004: Remove the SVGColor and SVGPaint DOM interfaces (were deprecated). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: text diff fix Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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");
11 shouldBeDefined("SVGAnimatedString"); 11 shouldBeDefined("SVGAnimatedString");
12 shouldBeDefined("SVGStringList"); 12 shouldBeDefined("SVGStringList");
13 shouldBeDefined("SVGAnimatedEnumeration"); 13 shouldBeDefined("SVGAnimatedEnumeration");
14 shouldBeDefined("SVGAnimatedInteger"); 14 shouldBeDefined("SVGAnimatedInteger");
15 shouldBeDefined("SVGNumber"); 15 shouldBeDefined("SVGNumber");
16 shouldBeDefined("SVGAnimatedNumber"); 16 shouldBeDefined("SVGAnimatedNumber");
17 shouldBeDefined("SVGNumberList"); 17 shouldBeDefined("SVGNumberList");
18 shouldBeDefined("SVGAnimatedNumberList"); 18 shouldBeDefined("SVGAnimatedNumberList");
19 shouldBeDefined("SVGLength"); 19 shouldBeDefined("SVGLength");
20 shouldBeDefined("SVGAnimatedLength"); 20 shouldBeDefined("SVGAnimatedLength");
21 shouldBeDefined("SVGLengthList"); 21 shouldBeDefined("SVGLengthList");
22 shouldBeDefined("SVGAnimatedLengthList"); 22 shouldBeDefined("SVGAnimatedLengthList");
23 shouldBeDefined("SVGAngle"); 23 shouldBeDefined("SVGAngle");
24 shouldBeDefined("SVGAnimatedAngle"); 24 shouldBeDefined("SVGAnimatedAngle");
25 shouldBeDefined("SVGColor");
26 shouldBeDefined("SVGICCColor");
27 shouldBeDefined("SVGRect"); 25 shouldBeDefined("SVGRect");
28 shouldBeDefined("SVGAnimatedRect"); 26 shouldBeDefined("SVGAnimatedRect");
29 shouldBeDefined("SVGStylable"); 27 shouldBeDefined("SVGStylable");
30 shouldBeDefined("SVGLocatable"); 28 shouldBeDefined("SVGLocatable");
31 shouldBeDefined("SVGTransformable"); 29 shouldBeDefined("SVGTransformable");
32 shouldBeDefined("SVGTests"); 30 shouldBeDefined("SVGTests");
33 shouldBeDefined("SVGViewSpec"); 31 shouldBeDefined("SVGViewSpec");
34 shouldBeDefined("SVGURIReference"); 32 shouldBeDefined("SVGURIReference");
35 shouldBeDefined("SVGCSSRule"); 33 shouldBeDefined("SVGCSSRule");
36 shouldBeDefined("SVGDocument"); 34 shouldBeDefined("SVGDocument");
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 shouldBeDefined("SVGPolygonElement"); 84 shouldBeDefined("SVGPolygonElement");
87 shouldBeDefined("SVGTextContentElement"); 85 shouldBeDefined("SVGTextContentElement");
88 shouldBeDefined("SVGTextPositioningElement"); 86 shouldBeDefined("SVGTextPositioningElement");
89 shouldBeDefined("SVGTextElement"); 87 shouldBeDefined("SVGTextElement");
90 shouldBeDefined("SVGTSpanElement"); 88 shouldBeDefined("SVGTSpanElement");
91 shouldBeDefined("SVGTextPathElement"); 89 shouldBeDefined("SVGTextPathElement");
92 shouldBeDefined("SVGAltGlyphElement"); 90 shouldBeDefined("SVGAltGlyphElement");
93 shouldBeDefined("SVGAltGlyphDefElement"); 91 shouldBeDefined("SVGAltGlyphDefElement");
94 shouldBeDefined("SVGAltGlyphItemElement"); 92 shouldBeDefined("SVGAltGlyphItemElement");
95 shouldBeDefined("SVGGlyphRefElement"); 93 shouldBeDefined("SVGGlyphRefElement");
96 shouldBeDefined("SVGPaint");
97 shouldBeDefined("SVGMarkerElement"); 94 shouldBeDefined("SVGMarkerElement");
98 shouldBeDefined("SVGColorProfileElement"); 95 shouldBeDefined("SVGColorProfileElement");
99 shouldBeDefined("SVGColorProfileRule"); 96 shouldBeDefined("SVGColorProfileRule");
100 shouldBeDefined("SVGGradientElement"); 97 shouldBeDefined("SVGGradientElement");
101 shouldBeDefined("SVGLinearGradientElement"); 98 shouldBeDefined("SVGLinearGradientElement");
102 shouldBeDefined("SVGRadialGradientElement"); 99 shouldBeDefined("SVGRadialGradientElement");
103 shouldBeDefined("SVGStopElement"); 100 shouldBeDefined("SVGStopElement");
104 shouldBeDefined("SVGPatternElement"); 101 shouldBeDefined("SVGPatternElement");
105 shouldBeDefined("SVGClipPathElement"); 102 shouldBeDefined("SVGClipPathElement");
106 shouldBeDefined("SVGMaskElement"); 103 shouldBeDefined("SVGMaskElement");
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 shouldBeDefined("SVGFontFaceElement"); 149 shouldBeDefined("SVGFontFaceElement");
153 shouldBeDefined("SVGFontFaceSrcElement"); 150 shouldBeDefined("SVGFontFaceSrcElement");
154 shouldBeDefined("SVGFontFaceUriElement"); 151 shouldBeDefined("SVGFontFaceUriElement");
155 shouldBeDefined("SVGFontFaceFormatElement"); 152 shouldBeDefined("SVGFontFaceFormatElement");
156 shouldBeDefined("SVGFontFaceNameElement"); 153 shouldBeDefined("SVGFontFaceNameElement");
157 shouldBeDefined("SVGDefinitionSrcElement"); 154 shouldBeDefined("SVGDefinitionSrcElement");
158 shouldBeDefined("SVGMetadataElement"); 155 shouldBeDefined("SVGMetadataElement");
159 shouldBeDefined("SVGForeignObjectElement"); 156 shouldBeDefined("SVGForeignObjectElement");
160 157
161 var successfullyParsed = true; 158 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/js-svg-constructors-expected.txt ('k') | LayoutTests/svg/dom/SVGColor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698