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-text-nodes.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-text-nodes.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-text-nodes.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-text-nodes.html
index 7ef4a8bcca11debee837f8dd444eca902efed495..979c61cee3f490ab10feeed42d38302a8d01ee2b 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-text-nodes.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-text-nodes.html
@@ -40,8 +40,8 @@ test(() => {
}, "assignedSlot");
test(() => {
- assert_array_equals(defaultSlot.getDistributedNodes(), [textHello, child2, textWorld]);
- assert_array_equals(slot1.getDistributedNodes(), [child1]);
+ assert_array_equals(defaultSlot.getAssignedNodes({flatten: true}), [textHello, child2, textWorld]);
+ assert_array_equals(slot1.getAssignedNodes({flatten: true}), [child1]);
}, "getDistributedNodes");
add_completion_callback(() => {

Powered by Google App Engine
This is Rietveld 408576698