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

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

Issue 99533004: [SVG] Implement 'discard' element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months 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");
(...skipping 18 matching lines...) Expand all
29 shouldBeDefined("SVGTransformable"); 29 shouldBeDefined("SVGTransformable");
30 shouldBeDefined("SVGTests"); 30 shouldBeDefined("SVGTests");
31 shouldBeDefined("SVGViewSpec"); 31 shouldBeDefined("SVGViewSpec");
32 shouldBeDefined("SVGURIReference"); 32 shouldBeDefined("SVGURIReference");
33 shouldBeDefined("SVGCSSRule"); 33 shouldBeDefined("SVGCSSRule");
34 shouldBeDefined("SVGDocument"); 34 shouldBeDefined("SVGDocument");
35 shouldBeDefined("SVGSVGElement"); 35 shouldBeDefined("SVGSVGElement");
36 shouldBeDefined("SVGGElement"); 36 shouldBeDefined("SVGGElement");
37 shouldBeDefined("SVGDefsElement"); 37 shouldBeDefined("SVGDefsElement");
38 shouldBeDefined("SVGDescElement"); 38 shouldBeDefined("SVGDescElement");
39 shouldBeDefined("SVGDiscardElement");
39 shouldBeDefined("SVGTitleElement"); 40 shouldBeDefined("SVGTitleElement");
40 shouldBeDefined("SVGSymbolElement"); 41 shouldBeDefined("SVGSymbolElement");
41 shouldBeDefined("SVGUseElement"); 42 shouldBeDefined("SVGUseElement");
42 shouldBeDefined("SVGElementInstance"); 43 shouldBeDefined("SVGElementInstance");
43 shouldBeDefined("SVGElementInstanceList"); 44 shouldBeDefined("SVGElementInstanceList");
44 shouldBeDefined("SVGImageElement"); 45 shouldBeDefined("SVGImageElement");
45 shouldBeDefined("SVGSwitchElement"); 46 shouldBeDefined("SVGSwitchElement");
46 shouldBeDefined("SVGStyleElement"); 47 shouldBeDefined("SVGStyleElement");
47 shouldBeDefined("SVGPoint"); 48 shouldBeDefined("SVGPoint");
48 shouldBeDefined("SVGPointList"); 49 shouldBeDefined("SVGPointList");
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 shouldBeDefined("SVGFontFaceElement"); 150 shouldBeDefined("SVGFontFaceElement");
150 shouldBeDefined("SVGFontFaceSrcElement"); 151 shouldBeDefined("SVGFontFaceSrcElement");
151 shouldBeDefined("SVGFontFaceUriElement"); 152 shouldBeDefined("SVGFontFaceUriElement");
152 shouldBeDefined("SVGFontFaceFormatElement"); 153 shouldBeDefined("SVGFontFaceFormatElement");
153 shouldBeDefined("SVGFontFaceNameElement"); 154 shouldBeDefined("SVGFontFaceNameElement");
154 shouldBeDefined("SVGDefinitionSrcElement"); 155 shouldBeDefined("SVGDefinitionSrcElement");
155 shouldBeDefined("SVGMetadataElement"); 156 shouldBeDefined("SVGMetadataElement");
156 shouldBeDefined("SVGForeignObjectElement"); 157 shouldBeDefined("SVGForeignObjectElement");
157 158
158 var successfullyParsed = true; 159 var successfullyParsed = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698