Harness status: OK Found 13 tests 12 Pass 1 Fail Pass initialize throws when the registry scoped is false and the root is the document. Pass initialize throws when the registry scoped is false and the root document already has another registry Pass initialize is a function on both global and scoped CustomElementRegistry Pass initialize sets element.customElementRegistry to the global registry Pass initialize does not set the registry of nested shadow tree to the global registry Pass initialize sets element.customElementRegistry to a scoped registry Pass initialize does not set descendants whose customElementRegistry already uses a different registry Pass initialize does not set the registry of nested shadow tree to a scoped registry Pass initialize sets element.customElementRegistry permantently Pass initialize is no-op on a subtree with a non-null registry Pass initialize works on Document Pass initialize works on DocumentFragment Fail initialize sets registry on shadow root descendants with no registry