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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
167 B
JavaScript
Raw Normal View History

/* eslint-disable no-undef */
chrome.runtime.onMessage.addListener((message, sender, reply) => {
window.receivedMessage = message;
reply({ message, sender });
});