Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IE] Invalid character in outerHtml.get #470

Open
1 of 5 tasks
nick-kravchenko opened this issue Aug 6, 2021 · 2 comments
Open
1 of 5 tasks

[IE] Invalid character in outerHtml.get #470

nick-kravchenko opened this issue Aug 6, 2021 · 2 comments

Comments

@nick-kravchenko
Copy link

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:
041c940

Version

@webcomponents/[email protected]

Browsers affected

  • Chrome
  • Firefox
  • Edge
  • Safari
  • IE 11
@zemlakov
Copy link

zemlakov commented Aug 6, 2021

I got the same issue. It breaks entire script. After rollback to 14 problem has disappeared.

@stale
Copy link

stale bot commented Aug 12, 2022

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.

@stale stale bot added the wontfix label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants