Open nick-kravchenko opened 3 years ago
I got the same issue. It breaks entire script. After rollback to 14 problem has disappeared.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Got an error after update to 1.5.0 in IE11
k=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return`<${_}>${this.innerHTML}</${_}>`},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");g.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();g.body.firstChild;)a.call(e,g.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})}
Error caused by
<${_}>${this.innerHTML}</${_}>
Link to commit that causes the issue: https://github.com/webcomponents/polyfills/commit/041c940a9333f00a2386f8a2951d918dd5e89c28
Version
@webcomponents/template@1.5.0
Browsers affected