mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-19 02:43:07 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
bf90272692
6 changed files with 776 additions and 837 deletions
|
|
@ -2377,10 +2377,7 @@ ScriptLoader::EvaluateScript(ScriptLoadRequest* aRequest)
|
|||
rv = exec.Compile(options, srcBuf);
|
||||
}
|
||||
if (rv == NS_OK) {
|
||||
JS::Rooted<JSScript*> script(cx);
|
||||
script = exec.GetScript();
|
||||
|
||||
// With scripts disabled GetScript() will return nullptr
|
||||
JS::Rooted<JSScript*> script(cx, exec.GetScript());
|
||||
if (script) {
|
||||
// Create a ClassicScript object and associate it with the
|
||||
// JSScript.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue