Skip to content

Commit

Permalink
LibWeb: Default ScriptFetchOptions parser metadata to NotParserInserted
Browse files Browse the repository at this point in the history
  • Loading branch information
Lubrsi committed Sep 14, 2023
1 parent a7c1af0 commit 616fcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWeb/HTML/Scripting/Fetching.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 616fcd7

Please sign in to comment.