This bug is meant to track the implementation and testing of Chrome.pageAction.setIcon on android. Firefox docs: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/PageAction/setIcon Chrome docs: https://developer.chrome.com/extensions/pageAction#method-setIcon Notes: There isn't an existing method in the PageActions.jsm module that we can wrap, but we should be able to add one by doing the following: - Add a new method to PageActions.jsm for setting the icon, which uses `Messaging.sendRequest(...)` to send a new message, maybe "PageActions:UpdateIcon" with the id of the PageAction returned by `PageActions.add(...)`. - Add a new case to handleUiMessage in PageActionLayout.java which updates the icon when the "PageActions:UpdateIcon" message is received.
This change will be a part of https://bugzilla.mozilla.org/show_bug.cgi?id=1270742.
Reopening as it didn't actually end up being a part of bug 1270742.