mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:27:34 +00:00
LibJS: Add ScriptOrModule to execution context and track it everywhere
This commit is contained in:
parent
99edf5b25a
commit
57c5a59cab
10 changed files with 42 additions and 6 deletions
|
@ -93,7 +93,7 @@ ThrowCompletionOr<Value> perform_shadow_realm_eval(GlobalObject& global_object,
|
|||
eval_context.realm = &eval_realm;
|
||||
|
||||
// 15. Set evalContext's ScriptOrModule to null.
|
||||
// FIXME: Our execution context struct currently does not track this item.
|
||||
// Note: This is already the default value.
|
||||
|
||||
// 16. Set evalContext's VariableEnvironment to varEnv.
|
||||
eval_context.variable_environment = variable_environment;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue