diff --git a/shadow-dom/slots-imperative-api-slotchange.tentative.html b/shadow-dom/imperative-slot-api-slotchange.html similarity index 98% rename from shadow-dom/slots-imperative-api-slotchange.tentative.html rename to shadow-dom/imperative-slot-api-slotchange.html index 43627a246cce9d9..dd9ebbd3f849b32 100644 --- a/shadow-dom/slots-imperative-api-slotchange.tentative.html +++ b/shadow-dom/imperative-slot-api-slotchange.html @@ -107,7 +107,7 @@ let tTree = setupShadowDOM(test_slotchange, test, data); let [s1Promise, s2Promise] = monitorSlots(data); - assert_throws_dom('NotAllowedError', () => { tTree.s1.assign([tTree.c4]); }); + tTree.s1.assign([]);; tTree.s2.assign([]); tTree.host.insertBefore(tTree.c4, tTree.c1); @@ -135,7 +135,7 @@ [s1Promise] = monitorSlots(data); tTree.s1.assign([tTree.c1, tTree.c2]); - tTree.s1.assign([tTree.c2, tTree.c1, tTree.c1, tTree.c2, tTree.c2]); + tTree.s1.assign([tTree.c1, tTree.c2, tTree.c1, tTree.c2, tTree.c2]); s1Promise.then(test.step_func_done(() => { assert_equals(data.s1EventCount, 1); diff --git a/shadow-dom/slots-imperative-slot-api.tentative.html b/shadow-dom/imperative-slot-api.html similarity index 71% rename from shadow-dom/slots-imperative-slot-api.tentative.html rename to shadow-dom/imperative-slot-api.html index 2ffb08fba1b70e1..54b22632d11547f 100644 --- a/shadow-dom/slots-imperative-slot-api.tentative.html +++ b/shadow-dom/imperative-slot-api.html @@ -15,7 +15,7 @@ let tTree = createTestTree(test_basic); assert_not_equals(tTree.host1.attachShadow({ mode: 'open', slotAssignment: 'manual'}), null, 'slot assignment manual should work'); - assert_not_equals(tTree.host2.attachShadow({ mode: 'open', slotAssignment: 'name'}), + assert_not_equals(tTree.host2.attachShadow({ mode: 'open', slotAssignment: 'named'}), null, 'slot assignment auto should work'); assert_throws_js(TypeError, () => { tTree.host3.attachShadow({ mode: 'open', slotAssignment: 'exceptional' })}, @@ -23,39 +23,6 @@ }, 'attachShadow can take slotAssignment parameter.'); -
-
- -
-
-
- -
-
-
- -