Use promises for extension API calls in release-2018-5
Background
In #323 (closed) we made sure that none of the existing code (i.e. in master) passes callbacks anymore to extension API calls to stay compatible and allow for upcoming changes in WebExt. We also need to make this change to any new code that will be introduced with release-2018-5.
Trac ticket with more detailed testing scope: 7345
What to change
In release-2018-5: Where possible use Promises instead of callbacks when using the browser.*
or chrome.*
APIs.
This includes the following changes:
- Update UI files:
- composer.js
- ext/content.js
- js/desktop-options.js
- js/popup.utils.js
Edited by Ursa Kacar