-
Notifications
You must be signed in to change notification settings - Fork 56
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
Inconsistency: action.setIcon() & action.setBadgeBackgroundColor() #336
Comments
Yes, |
Safari supports null resetting the action properties. We also plan to support |
So basically the inconsistency is Chrome does not allow resetting the properties? Potentially we can just upgrade this issue to propose allowing to reset the action properties. @oliverdunk is this something Chrome would want to implement? Seems an open issue has been made already: https://bugs.chromium.org/p/chromium/issues/detail?id=1488303
@xeenon Wonderful! Is this something recently implemented? |
Safari has always supported null reseting, IIRC. |
Similar to Safari, I think this was supported from the get go. |
Devlin expressed support for resetting to the default. The crbug to track is at https://issues.chromium.org/issues/40073862 |
The same inconsistency applies to @xeenon Just tested setting popup to null in Safari 17.4.1 and contrary to what is stated on MDN, it behaves as if it is set to an empty string. |
@carlosjeurissen Hmm thanks. What about Safari Technology Preview? |
@xeenon Seems it has the correct behaviour in the Technology Preview Release 194 (Safari 17.4, WebKit 19619.1.11.111.2) |
@carlosjeurissen Thanks for checking! I'll make a note to update MDN. |
There are some minor inconsistencies.
N.B. Only Firefox & Chrome checked.
setIcon()
1. Resetting to the manifest icon
Firefox
browserAction.setIcon() & action.setIcon()
Chrome
setIcon
setBadgeBackgroundColor()
1. Resetting to the default value
Firefox
browserAction.setBadgeBackgroundColor() & action.setBadgeBackgroundColor()
Chrome
setBadgeBackgroundColor
Resetting to the default value
2. transparent
Firefox
Chrome
Footnote
See also: #216
The text was updated successfully, but these errors were encountered: