New issue
Advanced search Search tips

Issue 620951 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Implement chrome.browserAction.getIcon()

Reported by hansi...@gmail.com, Jun 17 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

Steps to reproduce the problem:
Implement chrome.browserAction.getIcon()

Returns path or ImageData of currently displayed browser_action icon. 

There are cases where Chrome selects the browser_action icon where there is no simple way for extension code to know which icon was selected (eg, based on device pixel density or based on Chrome version (19px? 16px?)). 

This information is useful in cases where extension devs want to match the icon size when calling chrome.browserAction.setIcon()

What is the expected behavior?

What went wrong?
Nothing went wrong. Calm down.

WebStore page: 

Did this work before? N/A 

Chrome version: 51.0.2704.84  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jun 19 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment