LibWeb: Remove 'classic' from 'default classic script fetch options'

See:
- 5ee6b7b
This commit is contained in:
Jamie Mansfield 2024-10-03 23:49:55 +01:00 committed by Andreas Kling
commit d6db6edaf6
Notes: github-actions[bot] 2024-10-04 06:41:19 +00:00
3 changed files with 6 additions and 6 deletions

View file

@ -422,8 +422,8 @@ ErrorOr<void> initialize_main_thread_vm(HTML::EventLoop::Type type)
// 3. Let referencingScript be null.
Optional<HTML::Script&> referencing_script;
// 4. Let originalFetchOptions be the default classic script fetch options.
auto original_fetch_options = HTML::default_classic_script_fetch_options();
// 4. Let originalFetchOptions be the default script fetch options.
auto original_fetch_options = HTML::default_script_fetch_options();
// 5. Let fetchReferrer be "client".
Fetch::Infrastructure::Request::ReferrerType fetch_referrer = Fetch::Infrastructure::Request::Referrer::Client;