Artifact 7ec98c36808bd8e3557297059f7af1aeb4314db456cdfa5ca0ea72d60ed73692:
- File gc_lang/fr/webext/background.js — part of check-in [1f4195c966] at 2017-08-04 15:41:45 on branch webext2 — [fx][core] initialization in gce_worker.js (user: olr, size: 384) [annotate] [blame] [check-ins using]
// Background "use strict"; let xGCEWorker = new Worker("gce_worker.js"); xGCEWorker.postMessage(["init", browser.extension.getURL(".")]); function handleMessage (oRequest, xSender, sendResponse) { console.log(`[background] received: ${oRequest.content}`); sendResponse({response: "response from background script"}); } browser.runtime.onMessage.addListener(handleMessage);