Implement chrome.browserAction.getIcon()
Reported by
hansi...@gmail.com,
Jun 17 2016
|
|
Issue descriptionUserAgent: 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 |
|
►
Sign in to add a comment |
|
Comment 1 by sheriffbot@chromium.org
, Jun 19 2017