You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
Could it be possible to fix this in future releases of webcomponents.js?
unfortunately, it's not possible to polyfill NodeList. (at least until EcmaScript 6 proxies are widely supported.) So there's no action we can take here. A few suggestions:
patch your third party library, so it checks for ShadowDOMPolyfill and understands it is not IE6/7 (I doubt webcomponents.js can load on IE < 9 ... see browser support)
use webcomponents-lite.js, which omits ShadowDOMPolyfill
I have a third-party library which I use that does a IE 6/7 bug detection in my web application:
The problem is the line where form.elements[input.name] does not return a nodeList like the spec dictates (https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements) but a simple array. So this test provides a false positive. on Safari 8.0.3 with OSX 10.10.2.
Webcomponents.js is the reason why this happens. It polyfills the elements method and returns the wrong object:
Could it be possible to fix this in future releases of webcomponents.js?
The text was updated successfully, but these errors were encountered: