This is a testharness.js-based test.
PASS slotchange event must fire on a default slot element inside an open shadow root  in a document 
PASS slotchange event must fire on a default slot element inside a closed shadow root  in a document 
PASS slotchange event must fire on a default slot element inside an open shadow root  not in a document 
PASS slotchange event must fire on a default slot element inside a closed shadow root  not in a document 
PASS slotchange event must fire on a named slot element insidean open shadow root  in a document 
PASS slotchange event must fire on a named slot element insidea closed shadow root  in a document 
PASS slotchange event must fire on a named slot element insidean open shadow root  not in a document 
PASS slotchange event must fire on a named slot element insidea closed shadow root  not in a document 
PASS slotchange event must not fire on a slot element inside an open shadow root  in a document when another slot's assigned nodes change 
PASS slotchange event must not fire on a slot element inside a closed shadow root  in a document when another slot's assigned nodes change 
PASS slotchange event must not fire on a slot element inside an open shadow root  not in a document when another slot's assigned nodes change 
PASS slotchange event must not fire on a slot element inside a closed shadow root  not in a document when another slot's assigned nodes change 
PASS slotchange event must not fire on a slot element inside an open shadow root  in a document when the shadow host was mutated before the slot was inserted or after the slot was removed 
PASS slotchange event must not fire on a slot element inside a closed shadow root  in a document when the shadow host was mutated before the slot was inserted or after the slot was removed 
PASS slotchange event must not fire on a slot element inside an open shadow root  not in a document when the shadow host was mutated before the slot was inserted or after the slot was removed 
PASS slotchange event must not fire on a slot element inside a closed shadow root  not in a document when the shadow host was mutated before the slot was inserted or after the slot was removed 
PASS slotchange event must fire on a slot element inside an open shadow root  in a document even if the slot was removed immediately after the assigned nodes were mutated 
PASS slotchange event must fire on a slot element inside a closed shadow root  in a document even if the slot was removed immediately after the assigned nodes were mutated 
PASS slotchange event must fire on a slot element inside an open shadow root  not in a document even if the slot was removed immediately after the assigned nodes were mutated 
PASS slotchange event must fire on a slot element inside a closed shadow root  not in a document even if the slot was removed immediately after the assigned nodes were mutated 
PASS slotchange event must fire on a slot element inside an open shadow root  in a document when innerHTML modifies the children of the shadow host 
PASS slotchange event must fire on a slot element inside a closed shadow root  in a document when innerHTML modifies the children of the shadow host 
PASS slotchange event must fire on a slot element inside an open shadow root  not in a document when innerHTML modifies the children of the shadow host 
PASS slotchange event must fire on a slot element inside a closed shadow root  not in a document when innerHTML modifies the children of the shadow host 
PASS slotchange event must fire on a slot element inside an open shadow root  in a document when nested slots's contents change 
PASS slotchange event must fire on a slot element inside a closed shadow root  in a document when nested slots's contents change 
PASS slotchange event must fire on a slot element inside an open shadow root  not in a document when nested slots's contents change 
PASS slotchange event must fire on a slot element inside a closed shadow root  not in a document when nested slots's contents change 
FAIL slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root  in a document when slots's contents change assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 2
FAIL slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root  in a document when slots's contents change assert_array_equals: a distinct slotchange event must be enqueued for changes made during a mutation observer delivery lengths differ, expected 3 got 2
FAIL slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root  not in a document when slots's contents change assert_array_equals: a distinct slotchange event must be enqueued for changes made during a mutation observer delivery lengths differ, expected 3 got 2
FAIL slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root  not in a document when slots's contents change assert_array_equals: a distinct slotchange event must be enqueued for changes made during a mutation observer delivery lengths differ, expected 3 got 2
Harness: the test ran to completion.

