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

Side by Side Diff: LayoutTests/fast/dom/Window/element-constructors-on-window.html

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <p>Test that HTML element constructors are accessible as window object propertie s.</p> 3 <p>Test that HTML element constructors are accessible as window object propertie s.</p>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 function test(className) { 8 function test(className) {
9 document.write("<p>" + className + ": " + eval("window." + className) + "</p>" ); 9 document.write("<p>" + className + ": " + eval("window." + className) + "</p>" );
10 } 10 }
11 11
12 test("HTMLElement"); 12 test("HTMLElement");
13 13
14 // DOM 2 elements 14 // DOM 2 elements
15 test("HTMLAnchorElement"); 15 test("HTMLAnchorElement");
16 test("HTMLAppletElement");
17 test("HTMLAreaElement"); 16 test("HTMLAreaElement");
18 test("HTMLBaseElement"); 17 test("HTMLBaseElement");
19 test("HTMLBodyElement"); 18 test("HTMLBodyElement");
20 test("HTMLBRElement"); 19 test("HTMLBRElement");
21 test("HTMLButtonElement"); 20 test("HTMLButtonElement");
22 test("HTMLDirectoryElement"); 21 test("HTMLDirectoryElement");
23 test("HTMLDivElement"); 22 test("HTMLDivElement");
24 test("HTMLDListElement"); 23 test("HTMLDListElement");
25 test("HTMLFieldSetElement"); 24 test("HTMLFieldSetElement");
26 test("HTMLFontElement"); 25 test("HTMLFontElement");
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Some other elements 65 // Some other elements
67 test("HTMLCanvasElement"); 66 test("HTMLCanvasElement");
68 test("HTMLInsElement"); 67 test("HTMLInsElement");
69 test("HTMLDelElement"); 68 test("HTMLDelElement");
70 test("HTMLEmbedElement"); 69 test("HTMLEmbedElement");
71 test("HTMLMarqueeElement"); 70 test("HTMLMarqueeElement");
72 71
73 </script> 72 </script>
74 </body> 73 </body>
75 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698