1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

LibJS: Provide a mutable SourceTextModule to HostGetImportMetaProperties

The Web host, for example, will need mutable references to objects owned
by the SourceTextModule.
This commit is contained in:
Timothy Flynn 2023-07-17 21:15:55 -04:00 committed by Linus Groh
parent 97130a4e66
commit 66a8664518

View file

@ -258,7 +258,7 @@ public:
Function<ThrowCompletionOr<void>(ScriptOrModule, ModuleRequest, PromiseCapability const&)> host_import_module_dynamically;
Function<void(ScriptOrModule, ModuleRequest const&, PromiseCapability const&, Promise*)> host_finish_dynamic_import;
Function<HashMap<PropertyKey, Value>(SourceTextModule const&)> host_get_import_meta_properties;
Function<HashMap<PropertyKey, Value>(SourceTextModule&)> host_get_import_meta_properties;
Function<void(Object*, SourceTextModule const&)> host_finalize_import_meta;
Function<Vector<DeprecatedString>()> host_get_supported_import_assertions;