Edge: browserAction.setIcon not working when using a default icon with multiple sizes
问题 I can't get browser.browserAction.setIcon to work in Microsoft Edge when manifest.json is specifying a default icon in multiple sizes: manifest.json { "manifest_version": 2, "name": "test", "version": "0.0.1", "author": "John Doe", "background": { "scripts": ["background.js"], "persistent": false }, "browser_action": { "default_icon": { "19": "icon.png", "38": "icon2.png" } } } background.js setInterval(function() { browser.browserAction.setIcon({ path: "testimage.png" }); }, 2000); No error