Index: third_party/WebKit/LayoutTests/shadow-dom/range-surround-contents.html |
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/range-surround-contents.html b/third_party/WebKit/LayoutTests/shadow-dom/range-surround-contents.html |
index 806466289c24abe1c924af055f6eb30f52592589..214f6a134092cf6b7afed07feed2341dcd75fe04 100644 |
--- a/third_party/WebKit/LayoutTests/shadow-dom/range-surround-contents.html |
+++ b/third_party/WebKit/LayoutTests/shadow-dom/range-surround-contents.html |
@@ -37,8 +37,7 @@ function testSurroundContents(description, targetPath, newParent) { |
assert_throws("HierarchyRequestError", function () { |
range.surroundContents(newParent); |
}); |
- var targetAfter = getNodeInComposedTree(targetPath); |
- assert_equals(targetAfter, target, "DOM should not change after HierarchyRequestError"); |
+ assert_equals(newParent.firstChild, null, newParent.id + " should not have children after surroundContents()"); |
}, description); |
} |