title: Promise support for Chrome Extensions API?
body: <p>I've been writing some browser extensions in the last few weeks and until today I thought that a WebExtension for Firefox should work pretty much automatically in Chrome. So I tried to write my code according to Mozilla's examples.<br />
  But today I realized that there is no mention of Promises in the API documentation for Chrome Extensions.<br />
  I have strictly used Promises throughout the code for all my Extensions.</p>
  <p>So now my question is, will my code work in Chrome? Or would it work if I add a <code>var browser = chrome</code> declaration at the very top?<br />
  Or does Chrome not support Promises on the API at all?<br />
  If Chrome doesn't support Promises on the API functions yet, will it support them in the future?</p>
  <p>Note, I am aware of this project: <a href="https://github.com/mozilla/webextension-polyfill" rel="nofollow noreferrer">https://github.com/mozilla/webextension-polyfill</a><br />
  But I'm not willing to go through the hassle of including that library everywhere. Also, it has annoying bugs in it.</p>
  <p>And besides that I don't have Chrome or Chromium and I can't install them for privacy and security reasons.</p>
  <p><strong>Edit: <a href="https://stackoverflow.com/a/66321636/2879085">They're finally starting to implement support for promises.</a></strong></p>