mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Issue #1691 - Follow-up: Fix videojs and potentially other problems. When rewriting the ExecutionContext code in ScriptLoader I accidentally removed some required code.
This commit is contained in:
parent
a7d8cecdb9
commit
a1f787fc8c
1 changed files with 3 additions and 0 deletions
|
|
@ -2343,6 +2343,9 @@ ScriptLoader::EvaluateScript(ScriptLoadRequest* aRequest)
|
||||||
FinishDynamicImport(cx, request, rv);
|
FinishDynamicImport(cx, request, rv);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// Update our current script.
|
||||||
|
AutoCurrentScriptUpdater scriptUpdater(this, aRequest->Element());
|
||||||
|
|
||||||
JS::CompileOptions options(cx);
|
JS::CompileOptions options(cx);
|
||||||
rv = FillCompileOptionsForRequest(aes, aRequest, global, &options);
|
rv = FillCompileOptionsForRequest(aes, aRequest, global, &options);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue