mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 00:42:54 +00:00
LibWeb: Default ScriptFetchOptions parser metadata to NotParserInserted
See: https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options
This commit is contained in:
parent
6f8be44c0e
commit
9335524f15
Notes:
sideshowbarker
2024-07-17 06:46:15 +09:00
Author: https://github.com/Lubrsi
Commit: 9335524f15
Pull-request: https://github.com/SerenityOS/serenity/pull/21051
Issue: https://github.com/SerenityOS/serenity/issues/20970
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct ScriptFetchOptions {
|
|||
String integrity_metadata {};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-script-fetch-options-parser
|
||||
Optional<Fetch::Infrastructure::Request::ParserMetadata> parser_metadata;
|
||||
Fetch::Infrastructure::Request::ParserMetadata parser_metadata { Fetch::Infrastructure::Request::ParserMetadata::NotParserInserted };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-script-fetch-options-credentials
|
||||
Fetch::Infrastructure::Request::CredentialsMode credentials_mode { Fetch::Infrastructure::Request::CredentialsMode::SameOrigin };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue