see : https://github.com/webcomponents/polyfills/issues/480#issuecomment-1291097576