webcomponents / webcomponents/polyfills
[scoped-custom-element-registry] getName is undefined
Open
Focus Area: Standards & Polyfills
Type: Bug
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
### 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
- [x] Chrome
Have not checked the other browsers
Contributor guide
Assessment
This issue has not been assessed yet.