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

Unified Diff: LayoutTests/fast/dom/plugin-attributes-enumeration.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, 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/plugin-attributes-enumeration.html
diff --git a/LayoutTests/fast/dom/plugin-attributes-enumeration.html b/LayoutTests/fast/dom/plugin-attributes-enumeration.html
index e45792c8cbbb32638d398f491baad3c8d10dd19c..fa1575d5230b39b62f8bddf17fa070bba784d5dc 100644
--- a/LayoutTests/fast/dom/plugin-attributes-enumeration.html
+++ b/LayoutTests/fast/dom/plugin-attributes-enumeration.html
@@ -30,14 +30,12 @@ function test()
var objectHash = new Object();
var embedHash = new Object();
- var appletHash = new Object();
var intersectionHash = new Object();
- var object, embed, applet;
+ var object, embed;
object = document.getElementById("object");
embed = document.getElementById("embed");
- applet = document.getElementById("applet");
for (var p in object)
if (typeof object[p] != 'function')
@@ -47,15 +45,11 @@ function test()
if (typeof embed[p] != 'function')
embedHash[p] = 1;
- for (var p in applet)
- if (typeof applet[p] != 'function')
- appletHash[p] = 1;
-
for (var p in objectHash)
- if (embedHash[p] && appletHash[p]) // ;
+ if (embedHash[p]) // ;
intersectionHash[p] = 1;
- print("[OBJECT, EMBED, APPLET] share:", "green");
+ print("[OBJECT, EMBED] share:", "green");
var array = new Array();
for (var p in intersectionHash)
if (typeof document.body[p] == 'undefined') // weed out items shared by all elements
@@ -80,15 +74,6 @@ function test()
array.push(p);
array.sort();
array.forEach(print);
-
- print("----------");
- var array = new Array();
- print(applet.tagName + " also has:", "green");
- for (var p in appletHash)
- if (!intersectionHash[p])
- array.push(p);
- array.sort();
- array.forEach(print);
}
</script>
</head>
@@ -100,7 +85,6 @@ function test()
<object class="invisible" id="object"></object>
<embed class="invisible" id="embed"></embed>
-<applet class="invisible" id="applet"></applet>
</body>
</html>
« no previous file with comments | « LayoutTests/fast/dom/htmlcollection-non-html.html ('k') | LayoutTests/fast/dom/plugin-attributes-enumeration-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698