-
Notifications
You must be signed in to change notification settings - Fork 106
IE 11 error: Object doesn't support property or method 'call', File: webcomponents-lite.js, Line: 67, Column: 154 #103
Comments
May not be the exact same issue, but generates the error at will upon press of the "Remove" button (TypeScript transpiled with "none" modules and targeting es5; polyfill doesn't seem to work quite right in jsbin for IE, but the button still throws the same message): The issue I'm having appears to be centered around this line (https://github.com/webcomponents/custom-elements/blob/master/src/Patch/Interface/ChildNode.js#L104) where, at least in the transpiled and minified code, the remove function does not exist at that point for IE11. IE11 does get polyfilled for window.Element.prototype.remove, but it doesn't seem like that is being referenced at that point in the code. The easiest way to recreate it is just to create a dummy element in script, transpile to es5, then on the page where you have the element run document.querySelector('dummy-element').remove() |
Hi, I've got a PR that's been out for a while that fixes this but it hasn't been reviewed unfortunately. :/ @KamiQuasi is right: the problem is that IE11 doesn't support |
I'm having the exact same issue. Used the polyfill from the MDN and the exception seems to be gone. |
This should be fixed as of tag |
@bicknellr I just tested a fresh build on a test site that included webcomponentsjs 1.0.14 in IE11, and am seeing this error message. Here's a screenshot: |
@jab, the specific error I ran your site and it throws here, inside webcomponents-lite.js: |
@bicknellr I'm seeing the exact same error, also on the unload listener. I don't use this listener myself though, so there's probably some other element that does. I tried searching, but haven't found the root cause. |
@srijken BTW, How to check:
|
OK, found the likely culprit. We were still using a 3.x preview of vaadin-grid. Upgraded to released version 3.0.2, and now it works OK in IE11/edge |
I made a new default app using the polymer starter kit and I built it using the es5-bundled preset. Will not work in IE11. Works fine in Chrome. Am I not understanding something with the support with polyfills or is this a bug?
Also getting this in console:
“Unable to get property ‘push’ of undefined or null reference" inside of CustomElementInternal.js (255,7)
The text was updated successfully, but these errors were encountered: