When the user installs or upgrades an add-on, the browser may warn the user about any particularly powerful permissions that the add-on has requested. Not all permissions result in warnings, and this behavior is not standardized across browsers.
Given the ID of an add-on, this function returns the permission warnings for it as an array of strings.
This API requires the "management" API permission.
This is an asynchronous function that returns a Promise.