electron/spec/fixtures/extensions/lazy-background-page/background.js

6 lines
167 B
JavaScript
Raw Normal View History

/* eslint-disable no-undef */
chrome.runtime.onMessage.addListener((message, sender, reply) => {
2020-03-20 20:28:31 +00:00
window.receivedMessage = message;
reply({ message, sender });
});