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

Unified Diff: LayoutTests/fast/dom/import-attribute-node.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/import-attribute-node.html
diff --git a/LayoutTests/fast/dom/import-attribute-node.html b/LayoutTests/fast/dom/import-attribute-node.html
index bb78f530d1fa03705d69d14910c8a6e0c7b05d06..82b75a714a5e9156513b8c8914550367c8b957d3 100644
--- a/LayoutTests/fast/dom/import-attribute-node.html
+++ b/LayoutTests/fast/dom/import-attribute-node.html
@@ -12,8 +12,6 @@ try {
var dstElem = xmld2.documentElement;
var importedNode = xmld2.importNode(srcElem.attributes["test"], false);
- if (importedNode.firstChild.nodeValue != "baz")
- throw "wrong imported attribute child: '" + importedNode.firstChild.nodeValue + "'";
dstElem.setAttributeNode(importedNode);
if (dstElem.getAttribute("test") != "baz")

Powered by Google App Engine
This is Rietveld 408576698