mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
LibWeb: Teach MainThreadVM about module scripts
This commit is contained in:
parent
7e7def71c1
commit
b00d49bbf0
2 changed files with 27 additions and 19 deletions
|
@ -50,7 +50,7 @@ struct WebEngineCustomJobCallbackData final : public JS::JobCallback::CustomData
|
|||
OwnPtr<JS::ExecutionContext> active_script_context;
|
||||
};
|
||||
|
||||
HTML::ClassicScript* active_script();
|
||||
HTML::Script* active_script();
|
||||
JS::VM& main_thread_vm();
|
||||
void queue_mutation_observer_microtask(DOM::Document&);
|
||||
NonnullOwnPtr<JS::ExecutionContext> create_a_new_javascript_realm(JS::VM&, Function<JS::Object*(JS::Realm&)> create_global_object, Function<JS::Object*(JS::Realm&)> create_global_this_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue