Skip to content

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

Open
@coening

Description

@coening

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions