I'm looking at the documentation page and I can't figure out whats wrong in my code:
chrome.browserAction.setIcon({
details.imageData = {
48: Icons/iconfavorite48x.png,
64: Icons/iconfavorite64x.png,
128: Icons/iconfavorite128x.png
}
});
the documentaion says :
Note that 'details.imageData = foo' is equivalent to
'details.imageData = {'19': foo}'
so I'm extremely confused