browser-compat-data
browser-compat-data copied to clipboard
webextensions.api.action.setBadgeText - wrong chrome support status
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
It says "The text property of the details parameter can be set to null." is "No" for Chrome.
What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet)
What did you expect to see?
It is supported after June 2023. Not sure about the exact release version.
The doc says "If tabId is specified and text is null, the text for the specified tab is cleared and defaults to the global badge text."
Did you test this? If so, how?
Tested on the latest stable channel. It is indeed supported.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
bug: https://issues.chromium.org/issues/40858508 commit: https://chromium.googlesource.com/chromium/src/+/d90439ecd113891c3892c7c40a322475a650e88e
Do you have anything more you want to share?
Btw the MV2 version of this API (browserAction.setBadgeText) also incorrectly says "no" support for Chrome. This feature is landed in Chrome 82.
MDN URL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/action/setBadgeText
MDN metadata
MDN page report details
- Query:
webextensions.api.action.setBadgeText - Report started: 2024-04-15T08:27:15.831Z