mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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: https://github.com/SerenityOS/serenity/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
@ -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…
Reference in New Issue
Block a user