mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +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:
committed by
Andreas Kling
parent
6f8be44c0e
commit
9335524f15
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user