Index: LayoutTests/fast/dom/insertedIntoDocument-child.html |
diff --git a/LayoutTests/fast/dom/insertedIntoDocument-child.html b/LayoutTests/fast/dom/insertedIntoDocument-child.html |
index 194eeb19aa39f5b4fc14daea69031932eb6382a6..37c29425dc10a1e3a35b3c9c79e20540115f8f11 100644 |
--- a/LayoutTests/fast/dom/insertedIntoDocument-child.html |
+++ b/LayoutTests/fast/dom/insertedIntoDocument-child.html |
@@ -15,12 +15,6 @@ gc = window.gc || function() |
var s = new String("AAAA"); |
} |
-handler = function() |
-{ |
- this.removeEventListener("DOMNodeRemoved", handler, false); |
- document.body.removeChild(object); |
-} |
- |
window.onload = function() |
{ |
object = document.createElement("object"); |
@@ -28,8 +22,6 @@ window.onload = function() |
attr = document.createAttribute("width"); |
object.setAttributeNode(attr); |
- attr.appendChild(document.createTextNode(1)); |
- attr.childNodes[0].addEventListener("DOMNodeRemoved", handler, false); |
embed = document.createElement("embed"); |
embed.setAttribute("width", 2); |