mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
LibJS+LibWeb: More bringing module loading closer to spec
In particular, this patch removes three host hooks on JS::VM in favor of the new JS-side module loading stuff.
This commit is contained in:
parent
07f567cd9f
commit
8b7d27b349
15 changed files with 234 additions and 319 deletions
|
@ -38,7 +38,7 @@ Workbook::Workbook(Vector<NonnullRefPtr<Sheet>>&& sheets, GUI::Window& parent_wi
|
|||
m_main_execution_context->realm = &realm;
|
||||
m_main_execution_context->is_strict_mode = true;
|
||||
m_vm->push_execution_context(*m_main_execution_context);
|
||||
m_vm->enable_default_host_import_module_dynamically_hook();
|
||||
m_vm->set_dynamic_imports_allowed(true);
|
||||
}
|
||||
|
||||
bool Workbook::set_filename(DeprecatedString const& filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue