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

Unified Diff: LayoutTests/fast/dom/insertedIntoDocument-child.html

Issue 1158433004: Remove Attr child nodes (making Attr a Node, not a ContainerNode) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 5 years, 7 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/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);

Powered by Google App Engine
This is Rietveld 408576698