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

6 lines
157 B
JavaScript
Raw Normal View History

/* global chrome */
chrome.runtime.onMessage.addListener((message, sender, reply) => {
2020-03-20 14:28:31 -06:00
window.receivedMessage = message;
reply({ message, sender });
});