ExtensionContent.jsm, line 489: TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object.
(TB 8.5.a1 debian buster 32bit)
upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1403505
JavaScript error: re[/gre/modules/ExtensionContent.jsm,](/gre/modules/ExtensionContent.jsm,) line 489: TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object.
= code
/**
* Tries to inject this script into the given window and sandbox, if
* there are pending operations for the window's current load state.
*
* @param {BaseContext} context
* The content script context into which to inject the scripts.
* @returns {Promise<any>}
* Resolves to the last value in the evaluated script, when
* execution is complete.
*/
...
// The evaluations below may throw, in which case the promise will be
// automatically rejected.
TelemetryStopwatch.start(CONTENT_SCRIPT_INJECTION_HISTOGRAM, context);
try {
for (let script of scripts) {
result = script.executeInGlobal(context.cloneScope);
}
if (this.matcher.jsCode) {
result = Cu.evalInSandbox(this.matcher.jsCode, context.cloneScope, "latest");
}
} finally {
TelemetryStopwatch.finish(CONTENT_SCRIPT_INJECTION_HISTOGRAM, context);
}