4 ms·
Browser vs chrome point is moot. Both namespaces exists in Firefox and there’s a polyfill to bring the browser namespace into chrome if you want to use promises
by weaksauce 6y ago
Browser vs chrome point is moot. Both namespaces exists in Firefox and there’s a polyfill to bring the browser namespace into chrome if you want to use promises over function callbacks. https://github.com/mozilla/webextension-polyfill https://github.com/mozilla/webextension-polyfill
- AlexITC 6y agoAs you said, the namespace is not a problem but some APIs definitely are, for example, in Chrome the notifications has a richer set of options but you need to be careful to not use the ones not supported by Firefox.