From ae80b9bcf07c14125fe7d0951505cdfb652eefd9 Mon Sep 17 00:00:00 2001 From: Prabhjyot Singh Sodhi Date: Tue, 16 Feb 2016 00:24:35 +0530 Subject: [PATCH] fix Node-isEqualNode.html test failure --- components/script/dom/node.rs | 2 +- tests/wpt/metadata/dom/nodes/Node-isEqualNode.html.ini | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 tests/wpt/metadata/dom/nodes/Node-isEqualNode.html.ini diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 5e02dc3d0e6..c42635a3762 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -2134,7 +2134,7 @@ impl NodeMethods for Node { } fn is_equal_node(this: &Node, node: &Node) -> bool { // Step 2. - if this.type_id() != node.type_id() { + if this.NodeType() != node.NodeType() { return false; } diff --git a/tests/wpt/metadata/dom/nodes/Node-isEqualNode.html.ini b/tests/wpt/metadata/dom/nodes/Node-isEqualNode.html.ini deleted file mode 100644 index c239f2eec91..00000000000 --- a/tests/wpt/metadata/dom/nodes/Node-isEqualNode.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[Node-isEqualNode.html] - type: testharness - [documents should not be compared based on properties] - expected: FAIL -