New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 593194 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 28 days ago
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Make browserAction.setBadgeBackgroundColor supports color keyword

Project Member Reported by lima...@gmail.com, Mar 9 2016

Issue description

currently we don't support below color keyword.
chrome.browserAction.setBadgeBackgroundColor({color:"green"})

and it returns unreadable error message.
Unchecked runtime.lastError while running browserAction.setBadgeBackgroundColor: Unknown error.
at setIconStatus (chrome-extension://blnceljpkdfniagjdagcnfeceanjcipe/rap.js:17:24)
at chrome-extension://blnceljpkdfniagjdagcnfeceanjcipe/rap.js:86:3reportIfUnchecked @ extensions::lastError:133handleResponse @ extensions::sendRequest:78

I think we should return proper error message at least.

Refer to http://stackoverflow.com/questions/35852715/changing-chrome-extension-icon/35881188
 
SGTM!  I'd be all for supporting css colors, but you're right that a better error would be great in the meantime if that looks too complicated.
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 10 2016

Comment 3 by lima...@gmail.com, Mar 10 2016

Status: Fixed (was: Assigned)

Sign in to add a comment