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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/surround-contents-with-shadow-dom.html

Issue 1684533002: Rename "tree of trees" to "composed tree". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698