shadowRoot.delegatesFocus,delegatesFocus);
      assert_equals(shadowRoot.serializable,expectedSerializable);
      assert_equals(shadowRoot.clonable,clonable);
      if (!emptyShadowTree) {
        shadowRoot.appendChild(document.createElement('slot'));
      }
      const emptyElement = `<${elementType}>${lightDOMContent}</${elementType}>`;
      if (expectedSerializable) {
        assert_equals(wrapper.getHTML({serializableShadowRoots: true}),
            correctHtml);
        assert_equals(wrapper.first