| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html
|
| index 20a4593220dba2e7bdb3111acd193ace1f3f9cd8..8533cc94f4a7a74252f8c32fc002b1eca9f88142 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html
|
| @@ -31,13 +31,13 @@ testSurroundContents("<details>", "details-target", T3);
|
|
|
| function testSurroundContents(description, targetPath, newParent) {
|
| test(function () {
|
| - var target = getNodeInTreeOfTrees(targetPath);
|
| + var target = getNodeInComposedTree(targetPath);
|
| var range = document.createRange();
|
| range.selectNode(target);
|
| assert_throws("HierarchyRequestError", function () {
|
| range.surroundContents(newParent);
|
| });
|
| - var targetAfter = getNodeInTreeOfTrees(targetPath);
|
| + var targetAfter = getNodeInComposedTree(targetPath);
|
| assert_equals(targetAfter, target, "DOM should not change after HierarchyRequestError");
|
| }, description);
|
| }
|
|
|