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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.html
index db41b3e5182c1d6ea3e5d561993b439b9ce5af50..a973bbc03695daf6f6a30536d988a06e89395305 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-default-slots.html
@@ -37,8 +37,8 @@ test(() => {
}, "getAssignedNodes");
test(() => {
- assert_array_equals(slot1.getDistributedNodes(), [child2, child4]);
- assert_array_equals(slot2.getDistributedNodes(), []);
- assert_array_equals(slot3.getDistributedNodes(), [child3]);
+ assert_array_equals(slot1.getAssignedNodes({flatten: true}), [child2, child4]);
+ assert_array_equals(slot2.getAssignedNodes({flatten: true}), []);
+ assert_array_equals(slot3.getAssignedNodes({flatten: true}), [child3]);
}, "getDistributedNodes");
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698