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(() => { |