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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-api-3.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-fallback-api-3.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-api-3.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-api-3.html
index b548272d28804805e3931c217ad0bb6c95707439..3976b9e12017ea4d6d7137db7af5769001acd151 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-api-3.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-api-3.html
@@ -74,12 +74,12 @@ test(() => {
}, "getAssignedNodes");
test(() => {
- assert_array_equals(slot1.getDistributedNodes(), [fallback1, child1]);
- assert_array_equals(slot2.getDistributedNodes(), [child1]);
- assert_array_equals(slot3.getDistributedNodes(), [fallback3]);
- assert_array_equals(slot4.getDistributedNodes(), [fallback3]);
+ assert_array_equals(slot1.getAssignedNodes({flatten: true}), [fallback1, child1]);
+ assert_array_equals(slot2.getAssignedNodes({flatten: true}), [child1]);
+ assert_array_equals(slot3.getAssignedNodes({flatten: true}), [fallback3]);
+ assert_array_equals(slot4.getAssignedNodes({flatten: true}), [fallback3]);
- assert_array_equals(slot_a.getDistributedNodes(), [fallback1, child1, fallback_a]);
- assert_array_equals(slot_b.getDistributedNodes(), [fallback1, child1]);
+ assert_array_equals(slot_a.getAssignedNodes({flatten: true}), [fallback1, child1, fallback_a]);
+ assert_array_equals(slot_b.getAssignedNodes({flatten: true}), [fallback1, child1]);
}, "getDistributedNodes");
</script>

Powered by Google App Engine
This is Rietveld 408576698