LibWeb/Fetch: Implement "fetch destination from module type" AO

See:
- 37659e9
This commit is contained in:
Jamie Mansfield 2024-05-03 21:23:17 +01:00 committed by Andrew Kaster
parent 1b043d259a
commit e2f242a552
Notes: sideshowbarker 2024-07-16 23:55:09 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -99,5 +99,7 @@ void fetch_single_imported_module_script(JS::Realm&, URL::URL const&, Environmen
void fetch_descendants_of_a_module_script(JS::Realm&, JavaScriptModuleScript& module_script, EnvironmentSettingsObject& fetch_client_settings_object, Fetch::Infrastructure::Request::Destination, HashTable<ModuleLocationTuple> visited_set, PerformTheFetchHook, OnFetchScriptComplete callback);
void fetch_descendants_of_and_link_a_module_script(JS::Realm&, JavaScriptModuleScript&, EnvironmentSettingsObject&, Fetch::Infrastructure::Request::Destination, PerformTheFetchHook, OnFetchScriptComplete on_complete);
Fetch::Infrastructure::Request::Destination fetch_destination_from_module_type(Fetch::Infrastructure::Request::Destination, ByteString const&);
void fetch_single_module_script(JS::Realm&, URL::URL const&, EnvironmentSettingsObject& fetch_client, Fetch::Infrastructure::Request::Destination, ScriptFetchOptions const&, EnvironmentSettingsObject& settings_object, Web::Fetch::Infrastructure::Request::ReferrerType const&, Optional<JS::ModuleRequest> const&, TopLevelModule, PerformTheFetchHook, OnFetchScriptComplete callback);
}