Index: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html |
index dd5e1f9342ac76e2deea17a895ddfc5a039f4b26..bb1b3dd4b0375e4b8be7764209f3aaae74696237 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-api-with-closed-shadow-tree.html |
@@ -49,8 +49,8 @@ test(() => { |
}, "A closed shadow tree has nothing to do with the behavior of getAssignedNodes"); |
test(() => { |
- assert_array_equals(d1_s1.getDistributedNodes(), [d2]); |
- assert_array_equals(d1_s2.getDistributedNodes(), [d3]); |
- assert_array_equals(d1_1_s1.getDistributedNodes(), [d1_2, d2]); |
-}, "A closed shadow tree has nothing to do with the behavior of getDistributedNodes"); |
+ assert_array_equals(d1_s1.getAssignedNodes({flatten: true}), [d2]); |
+ assert_array_equals(d1_s2.getAssignedNodes({flatten: true}), [d3]); |
+ assert_array_equals(d1_1_s1.getAssignedNodes({flatten: true}), [d1_2, d2]); |
+}, "A closed shadow tree has nothing to do with the behavior of getAssignedNodes({flatten: true}}"); |
</script> |