Skip to content

[scoped-custom-element-registry] The polyfill should not conditionally install itself #549

Closed
@justinfagnani

Description

@justinfagnani

The Scoped Custom Element Registry proposal is not finalized, and does not have a spec, or any native implementations. The current conditional install based on a shallow feature detection causes an extreme forward-compatibility risk. If a native implementation ships that defined ShadowRoot.prototype.createElement but behaves differently from the polyfill, pages with the polyfill deployed could break.

The polyfill should unconditionally install itself to ensure the current behavior until there is a finalized spec and shipping implementations.

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