mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibJS: Implement GetImportedModule and call it where appropriate
This breaks module loading temporarily while transitioning.
This commit is contained in:
parent
a24c543921
commit
82977ab44b
3 changed files with 41 additions and 17 deletions
|
@ -82,6 +82,8 @@ protected:
|
|||
virtual ThrowCompletionOr<void> initialize_environment(VM& vm);
|
||||
virtual ThrowCompletionOr<void> execute_module(VM& vm, GCPtr<PromiseCapability> capability = {});
|
||||
|
||||
[[nodiscard]] NonnullGCPtr<Module> get_imported_module(ModuleRequest const&);
|
||||
|
||||
void execute_async_module(VM& vm);
|
||||
void gather_available_ancestors(Vector<CyclicModule*>& exec_list);
|
||||
void async_module_execution_fulfilled(VM& vm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue