Skip to content

Remove MediaSessionAction[Details] from BCD#14071

Merged
ddbeck merged 1 commit intomdn:mainfrom
queengooborg:api/MediaSessionAction
Jan 25, 2022
Merged

Remove MediaSessionAction[Details] from BCD#14071
ddbeck merged 1 commit intomdn:mainfrom
queengooborg:api/MediaSessionAction

Conversation

@queengooborg
Copy link
Contributor

@queengooborg queengooborg commented Dec 18, 2021

This PR removes MediaSessionAction and MediaSessionActionDetails from BCD. These features are a dictionary, enum, or WebIDL typedef and should not be included in BCD.

Closes #4557.

This PR removes `MediaSessionAction` and `MediaSessionActionDetails` from BCD.  These features are a dictionary, enum, or WebIDL typedef and should not be included in BCD.
@queengooborg queengooborg added needs-release-note 📰 needs content update This PR needs a corresponding update to mdn/content to update the documentation labels Dec 18, 2021
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Dec 18, 2021
@hamishwillee
Copy link
Contributor

@queengooborg When you are removing these dictionaries, are you also "generally" checking that the data for the things that use them is correct? There is no issue if the caller that takes this object has matching versions, but I ran into one case (RTCIce something) where the versions did not match - so we were effectively throwing away information about options to a method changing over time.

Note, I don't think it matters for this case.

@queengooborg
Copy link
Contributor Author

I am, yes! I'm giving a quick glance at the versions of each subfeature, and if they all match with the method's version, I'm refraining from creating subfeatures for the appropriate method.

@hamishwillee
Copy link
Contributor

Thanks for confirming :-)

@queengooborg queengooborg removed the needs content update This PR needs a corresponding update to mdn/content to update the documentation label Dec 20, 2021
Copy link
Contributor

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🎉

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

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should MediaSession.setActionHandler have subentries for actions?

3 participants