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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html

Issue 1604853004: Rename slot.getDistributedNodes() to slot.getAssingedNodes({flatten: true}). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor Created 4 years, 11 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/v1-slots-api-with-closed-shadow-tree.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html
index dd5e1f9342ac76e2deea17a895ddfc5a039f4b26..bb1b3dd4b0375e4b8be7764209f3aaae74696237 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html
@@ -49,8 +49,8 @@ test(() => {
}, "A closed shadow tree has nothing to do with the behavior of getAssignedNodes");
test(() => {
- assert_array_equals(d1_s1.getDistributedNodes(), [d2]);
- assert_array_equals(d1_s2.getDistributedNodes(), [d3]);
- assert_array_equals(d1_1_s1.getDistributedNodes(), [d1_2, d2]);
-}, "A closed shadow tree has nothing to do with the behavior of getDistributedNodes");
+ assert_array_equals(d1_s1.getAssignedNodes({flatten: true}), [d2]);
+ assert_array_equals(d1_s2.getAssignedNodes({flatten: true}), [d3]);
+ assert_array_equals(d1_1_s1.getAssignedNodes({flatten: true}), [d1_2, d2]);
+}, "A closed shadow tree has nothing to do with the behavior of getAssignedNodes({flatten: true}}");
</script>

Powered by Google App Engine
This is Rietveld 408576698