mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Add helper to create default classic script fetch options
This commit is contained in:
committed by
Andreas Kling
parent
d1c1218d42
commit
dd90ed11b3
@@ -43,6 +43,9 @@ struct ScriptFetchOptions {
|
||||
Fetch::Infrastructure::Request::Priority fetch_priority {};
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options
|
||||
ScriptFetchOptions default_classic_script_fetch_options();
|
||||
|
||||
DeprecatedString module_type_from_module_request(JS::ModuleRequest const&);
|
||||
WebIDL::ExceptionOr<AK::URL> resolve_module_specifier(Optional<Script&> referring_script, DeprecatedString const& specifier);
|
||||
WebIDL::ExceptionOr<Optional<AK::URL>> resolve_imports_match(DeprecatedString const& normalized_specifier, Optional<AK::URL> as_url, ModuleSpecifierMap const&);
|
||||
|
||||
Reference in New Issue
Block a user