Retrieves an array of ExtensionInfo objects, one for each installed add-on.
Note that Google Chrome retrieves apps as well as add-ons. In Chrome you can distinguish apps from add-ons using the type property of ExtensionInfo.
This API requires the "management" API permission.
This is an asynchronous function that returns a Promise.