This is needed to fix browser_ext_browserAction_click_types.js. Before the first patch in this bug, the order of the built-in command event and the synthetic event here was slightly different, so it was papered over. Also, the click event will trigger a command event if needed, so there's no need to do it explicitly. Differential Revision: https://phabricator.services.mozilla.com/D157591