In order to handle the content script case correctly we must expose the contentScriptAddonPolicy to JavaScript. With that we can always see what extension is trying to perform an action and use its name rather than internal ID in the dialog. Differential Revision: https://phabricator.services.mozilla.com/D161282