Hi all,
I am using the GNU LibreJS firefox extension version 7.20.2, with firefox
77.0.1.
I get the following error while visiting an https localhost site:
TypeError: "cache is undefined"
fetchWebLabels moz-extension://XXX/content/externalLicenseChecker.js:29
fetchLicenseInfo
moz-extension://XXX/content/externalLicenseChecker.js:70
checkLicensedScript
moz-extension://XXX/content/externalLicenseChecker.js:81
<anonymous> moz-extension://XXX/content/externalLicenseChecker.js:89
<anonyme> moz-extension://XXX/content/externalLicenseChecker.js:92
content of variable m defined in <anonymous>
moz-extension://XXX/content/externalLicenseChecker.js:8:
{action: "checkLicensedScript", cache: undefined, url: "
https://localhost/XXXX"}
Maybe this is unrelated, but the MSDN guidelines is against using async
function for browser.runtime.onMessage.addListener as it is done in
externalLicenseChecker.js:86. Guideline:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage
Best regards,
BenoƮt