1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibWeb: Refactor XHR (almost) exactly to the spec

This makes XHR now rely on Fetch, which allows it to correct send
Origin and Referer headers, CORS-preflight and filtering and many other
goodies.

The main thing that's missing is Streams, which means we can't properly
produce progress events or switch to the Loading ready state.

This also doesn't implement the Document responseType just yet.
This commit is contained in:
Luke Wilde 2023-02-28 18:27:52 +00:00 committed by Linus Groh
parent 90cc45b7ec
commit d036862f2b
11 changed files with 782 additions and 203 deletions

File diff suppressed because it is too large Load diff