Artifact 67f47c26185b95e76bb16b96ed13459a99809eb8cddc3d61e1d118bbbd486e35:
- File gc_lang/fr/webext/background.js — part of check-in [51a209f202] at 2017-08-04 08:18:42 on branch webext2 — [core][fx] gc engine in a dedicated worker (user: olr, size: 318) [annotate] [blame] [check-ins using]
// Background "use strict"; let xGCEWorker = new Worker("gce_worker.js"); function handleMessage (oRequest, xSender, sendResponse) { console.log(`[background] received: ${oRequest.content}`); sendResponse({response: "response from background script"}); } browser.runtime.onMessage.addListener(handleMessage);