webextension-polyfill/test/fixtures/import-as-es6-extension/background.js

4 lines
95 B
JavaScript

browser.runtime.onMessage.addListener(async (msg, sender) => {
return {bgReceived: msg};
});