If the custom elements polyfill is in use, prevent document upgrade walks until HTMLImports.whenReady.

This commit is contained in:
Russell Bicknell
2017-02-03 16:43:19 -08:00
parent c839a1548a
commit 52e256a756

View File

@@ -18,4 +18,8 @@
});
});
if (customElements && customElements.polyfillWrapFlushCallback) {
customElements.polyfillWrapFlushCallback(flush => HTMLImports.whenReady(flush));
}
})(window.WebComponents);