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

[scoped-custom-element-registry] getName is undefined #596

Open
1 task done
coening opened this issue Sep 30, 2024 · 0 comments · May be fixed by #606
Open
1 task done

[scoped-custom-element-registry] getName is undefined #596

coening opened this issue Sep 30, 2024 · 0 comments · May be fixed by #606

Comments

@coening
Copy link

coening commented Sep 30, 2024

Description

Due to minification during the build process, the getName method is renamed (uglified) and no longer accessible on customElements.

Example

customElements.getName is undefined

Steps to reproduce

  1. Load the polyfill
  2. Try to call customElements.getName

Expected behavior

customElements.getName should be a function that returns the name for a previously-defined custom element.

Actual behavior

getName is not assigned to customElements

Version

0.0.9

Browsers affected

  • Chrome

Have not checked the other browsers

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

Successfully merging a pull request may close this issue.

1 participant