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

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..49217617a6fe6a3535b83d26c4a4d75b6024e892 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 getAssignedNode({flattern: true}}");
kochi 2016/01/20 08:03:16 s/getAssignedNode/getAssignedNodes/
hayato 2016/01/20 08:29:07 Done.
</script>

Powered by Google App Engine
This is Rietveld 408576698