Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixed notations for parameter properties of action.setIcon() #23543

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

jobisoft
Copy link
Contributor

Summary

The properties of the details parameter of action.setIcon() are currently specified with mixed notations. The suggested notation for such properties is <paramName>_<propName>_parameter.

The windowId property is specified as details_windowId_parameter, while imageData is specified as a flat entry. This is inconsistent.

This PR updates the definition for imageData to match the (suggested) notation used by windowId.

@github-actions github-actions bot added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Jun 27, 2024
@queengooborg queengooborg requested a review from rebloor July 8, 2024 07:16
@rebloor rebloor merged commit 1fcb062 into mdn:main Jul 10, 2024
6 checks passed
@rebloor
Copy link
Contributor

rebloor commented Jul 10, 2024

Thanks @jobisoft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants