
                if (connectedCallback) {
                  connectedCallback.call(this);
                }
              }
            }
          );
        }
        test('Nested DOM is scoped correctly when created dynamically inside a dynamic container', function (done) {
          if (
            !window.customElements.polyfillWrapFlushCallback &&
            window.ShadyDOM &&
            window.ShadyDOM.inUse
          ) {
            /*
             * This test is flaky if running with native cust