LibWeb: Fix various typos

Corresponds to:
- https://github.com/whatwg/html/pull/10934
- https://github.com/whatwg/html/pull/10950
This commit is contained in:
Sam Atkins 2025-01-29 17:15:00 +00:00
parent c5d793c4a9
commit 3775f3399c
Notes: github-actions[bot] 2025-01-30 15:01:16 +00:00
13 changed files with 25 additions and 26 deletions

View file

@ -29,8 +29,8 @@ create_potential_CORS_request(JS::VM& vm, URL::URL const& url, Optional<Fetch::I
if (cors_attribute_state == CORSSettingAttribute::Anonymous)
credentials_mode = Fetch::Infrastructure::Request::CredentialsMode::SameOrigin;
// 5. Let request be a new request whose URL is url, destination is destination, mode is mode, credentials mode is credentialsMode,
// and whose use-URL-credentials flag is set.
// 5. Return a new request whose URL is url, destination is destination, mode is mode, credentials mode is credentialsMode,
// and whose use-URL-credentials flag is set.
auto request = Fetch::Infrastructure::Request::create(vm);
request->set_url(url);
request->set_destination(destination);