{"json_modified": "2016-09-17T14:02:19.047106", "uuid": "9720b18c-9245-4c2e-b4e7-168e9b9e32ef", "title": "browserAction.setIcon()", "url": "/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction/setIcon", "tags": ["API", "Reference", "Non-standard", "Extensions", "Add-ons", "WebExtensions", "setIcon", "browserAction", "Non-Standard", "add-ons", "Method"], "translations": [], "modified": "2016-09-17T14:02:19", "label": "browserAction.setIcon()", "localization_tags": [], "locale": "en-US", "id": 171997, "last_edit": "2016-09-17T09:06:40", "summary": "Sets the icon for the browser action. The icon can be specified either as the path to an image file, the pixel data from a <canvas>
element, or a dictionary of either one of those. Either the path or the imageData property must be specified.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Examples", "title": "Examples"}, {"id": "Example_add-ons", "title": "Example add-ons"}], "slug": "Mozilla/Add-ons/WebExtensions/API/browserAction/setIcon", "review_tags": []}