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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.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-1.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html
index cac4ea7d859e572b67316ce88c4b55f0cae88d84..17f927e0aef480e9de6f2c5a09fe6eb80c6560b2 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html
@@ -38,8 +38,8 @@ test(() => {
}, "getAssignedNodes");
test(() => {
- assert_array_equals(slot1.getDistributedNodes(), [child1, child2]);
- assert_array_equals(slot2.getDistributedNodes(), [child3]);
- assert_array_equals(slot3.getDistributedNodes(), []);
-}, "getDistributedNodes");
+ assert_array_equals(slot1.getAssignedNodes({flatten: true}), [child1, child2]);
+ assert_array_equals(slot2.getAssignedNodes({flatten: true}), [child3]);
+ assert_array_equals(slot3.getAssignedNodes({flatten: true}), []);
+}, "getAssignedNodes({flatten: true})");
</script>

Powered by Google App Engine
This is Rietveld 408576698