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

Node.cloneNode() does not preserve src value in case of HTMLScriptElement #364

Closed
vinaygosain opened this issue Feb 10, 2023 · 0 comments · Fixed by #374
Closed

Node.cloneNode() does not preserve src value in case of HTMLScriptElement #364

vinaygosain opened this issue Feb 10, 2023 · 0 comments · Fixed by #374

Comments

@vinaygosain
Copy link
Contributor

Describe the bug
The bug is easily reproducible. In any script, try accessing ScriptNode.cloneNode(true), the result will be a node without src tag.

Expected behavior
The cloned node should have src

Partytown version
What version of Partytown you are using, e.g. 0.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant