mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
If the custom elements polyfill is in use, prevent document upgrade walks until HTMLImports.whenReady.
This commit is contained in:
@@ -18,4 +18,8 @@
|
||||
});
|
||||
});
|
||||
|
||||
if (customElements && customElements.polyfillWrapFlushCallback) {
|
||||
customElements.polyfillWrapFlushCallback(flush => HTMLImports.whenReady(flush));
|
||||
}
|
||||
|
||||
})(window.WebComponents);
|
||||
|
||||
Reference in New Issue
Block a user