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

Unified Diff: LayoutTests/fast/dom/insertedIntoDocument-sibling.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-sibling.html
diff --git a/LayoutTests/fast/dom/insertedIntoDocument-sibling.html b/LayoutTests/fast/dom/insertedIntoDocument-sibling.html
index 7aed8592cc92ddfebac6383efac519748d1e8bac..a4f53d57b8993e8a5b69451c0f752e504f0502cf 100644
--- a/LayoutTests/fast/dom/insertedIntoDocument-sibling.html
+++ b/LayoutTests/fast/dom/insertedIntoDocument-sibling.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");
@@ -30,8 +24,6 @@ window.onload = function()
attr = document.createAttribute("width");
object.setAttributeNode(attr);
- attr.appendChild(document.createTextNode(1));
- attr.childNodes[0].addEventListener("DOMNodeRemoved", handler, false);
document.body.appendChild(object);

Powered by Google App Engine
This is Rietveld 408576698