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> |