Skip to content

determine priority of compat_features keys vs keys in BCD generated features. #1930

Open
@autonome

Description

@autonome

If you add a key to a feature's compat_features section, which already is in a feature that does not have a compat_features section, the dist script complains (rightly) that there are duplicate keys.

However, there are valid reasons to move a key from feature A to feature B, and treating this as a duplicate rather than a move prevents being able to do this.

Eg if we go ahead with a MessageEvent feature (unclear atm), it would have this:

compat_features:
  # Already generated in Broadcast channel.
  # Revisit once the "keys in impl or feature" question is answered.
  #- api.BroadcastChannel.message_event

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttools and infrastructureProject internal tooling, such as linters, GitHub Actions, or repo settings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions