3 ms·
> The answer was "nothing really" - it worked out of the box for the main functionality. Do you mean Chrome supports Promises like Firefox does? Last time I
by m-r-r 9y ago
> The answer was "nothing really" - it worked out of the box for the main functionality.
Do you mean Chrome supports Promises like Firefox does?
Last time I checked, the Chrome APIs were using callbacks for all asynchronous operations.
- weaksauce 9y agoThere is a polyfill written by mozilla devs that port the browser namespace and promise based api calls over to chrome if needed. https://github.com/mozilla/webextension-polyfill https://github.com/mozilla/webextension-polyfill