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

Unified Diff: LayoutTests/fast/dom/HTMLDocument/document-special-properties.html

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hopefully all the tests Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
diff --git a/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html b/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
index 11d6b9be22745b8e0340fff32592cb412fe24a72..e5c79bc5e6be8138202e924a81ba52397d0ca1cd 100644
--- a/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
+++ b/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
@@ -2,8 +2,8 @@
<p>This test covers the various ways of accessing DOM elements through
the document object by name, id or index, directly as properties of
-the document object. This lookup is supposed to include applet, embed,
dcheng 2015/08/19 18:44:17 Since <applet> will no longer be treated specifica
-form, image, object and iframe by name, but only applet and object by
+the document object. This lookup is supposed to include embed,
+form, image, object and iframe by name, but only object by
id. It should give the element itself in the case of a single match,
or an HTMLCollection in the case of multiple matches; except that when
exactly one item that is an iframe matches, it will give the window
@@ -50,17 +50,6 @@ if (window.testRunner)
<form name="form5" width="0" height="0"></form>
<form id="form5" width="0" height="0"></form>
-<applet name="applet1" width="0" height="0"></applet>
-<applet name="applet2" width="0" height="0"></applet>
-<applet name="applet2" width="0" height="0"></applet>
-<applet id="applet3" width="0" height="0"></applet>
-<applet id="applet4" width="0" height="0"></applet>
-<applet id="applet4" width="0" height="0"></applet>
-<applet id="applet5" width="0" height="0"></applet>
-<applet name="applet5" width="0" height="0"></applet>
-<applet name="applet5" width="0" height="0"></applet>
-<applet id="applet5" width="0" height="0"></applet>
-
<embed name="embed1" width="0" height="0"></embed>
<embed name="embed2" width="0" height="0"></embed>
<embed name="embed2" width="0" height="0"></embed>
@@ -112,7 +101,6 @@ if (window.testRunner)
<img id="mixed1" width="0" height="0">
<form id="mixed1" width="0" height="0"></form>
-<applet id="mixed1" width="0" height="0"></applet>
<embed id="mixed1" width="0" height="0"></embed>
<object id="mixed1" width="0" height="0"></object>
<iframe id="mixed1" width="0" height="0"></iframe>
@@ -120,7 +108,6 @@ if (window.testRunner)
<img name="mixed2" width="0" height="0">
<form name="mixed2" width="0" height="0"></form>
-<applet name="mixed2" width="0" height="0"></applet>
<embed name="mixed2" width="0" height="0"></embed>
<object name="mixed2" width="0" height="0"></object>
<iframe name="mixed2" width="0" height="0"></iframe>
@@ -128,14 +115,12 @@ if (window.testRunner)
<img id="mixed3" width="0" height="0">
<form id="mixed3" width="0" height="0"></form>
-<applet id="mixed3" width="0" height="0"></applet>
<embed id="mixed3" width="0" height="0"></embed>
<object id="mixed3" width="0" height="0"></object>
<span id="mixed3" width="0" height="0"></span>
<img name="mixed4" width="0" height="0">
<form name="mixed4" width="0" height="0"></form>
-<applet name="mixed4" width="0" height="0"></applet>
<embed name="mixed4" width="0" height="0"></embed>
<object name="mixed4" width="0" height="0"></object>
<span name="mixed4" width="0" height="0"></span>
@@ -216,14 +201,6 @@ testProperty("Form by id (multiple)", "form4");
testProperty("Form by id/name mixed", "form5");
print("<br>");
-testProperty("Nonexistent applet name", "applet0");
-testProperty("Applet by name (unique)", "applet1");
-testProperty("Applet by name (multiple)", "applet2");
-testProperty("Applet by id (unique)", "applet3");
-testProperty("Applet by id (multiple)", "applet4");
-testProperty("Applet by id/name mixed", "applet5");
-print("<br>");
-
testProperty("Nonexistent object name", "object0");
testProperty("Object by name (unique)", "object1");
testProperty("Object by name (multiple)", "object2");

Powered by Google App Engine
This is Rietveld 408576698