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

Unified Diff: LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js

Issue 746433002: Revive tests for Attr.ownerElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js
diff --git a/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js b/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js
index 45fd66018f3530bf58611c19d53da989aad984c8..640150b797cac74024b5e943ec1fce15be3a18ce 100644
--- a/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js
+++ b/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js
@@ -138,6 +138,11 @@ outresult = evaluator.evaluate(expression,contextNode,resolver,xpathType,inresul
parent = outNode.parentNode;
assertNull("S1.2.2-Attribute-Nodes-parentNode",parent);
+ owner = outNode.ownerElement;
+
+ ownerType = owner.nodeType;
+
+ assertEquals("S1.2.2-Attribute-Nodes-owner-nodeType",1,ownerType);
outNode = outresult.iterateNext();
}
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698