mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Implement prepare_to_run_script on a Realm&
Making further progress porting away from depending on the EnvironmentSettingObject.
This commit is contained in:
committed by
Andrew Kaster
parent
d6fdaf6b26
commit
8dffd8e7d6
@@ -133,8 +133,8 @@ JS::Promise* JavaScriptModuleScript::run(PreventErrorReporting)
|
||||
return promise;
|
||||
}
|
||||
|
||||
// 3. Prepare to run script given settings.
|
||||
settings.prepare_to_run_script();
|
||||
// 3. Prepare to run script given realm.
|
||||
prepare_to_run_script(realm);
|
||||
|
||||
// 4. Let evaluationPromise be null.
|
||||
JS::Promise* evaluation_promise = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user