Commit Graph

3 Commits

Author SHA1 Message Date
Timothy Flynn
0446c98053 LibWeb: Convert some sync tests to be async
The events tested here are decidedly async. We also can't really write
sync tests of the form "test(async () => {})". Nothing will await the
async callback.

(cherry picked from commit c9cbaeb59d6f699b33bf3924688987b3ca917fee)
2024-11-24 22:42:15 -05:00
Kenneth Myhra
abe4428c53 Tests/LibWeb: Move existing Fetch tests in under the Fetch folder
(cherry picked from commit 92f6336fe874bd852f0b759dac4f38e45cdcae5a)
2024-07-23 13:06:46 -04:00
Kenneth Myhra
1d4e673e60 LibWeb: Implement formData() method steps for x-www-form-urlencoded
The Response interface of the Fetch API can now parse form urlencoded
bodies when Content-Type is set to 'application/x-www-form-urlencoded'.

(cherry picked from commit b8fa572c6742c0f1f63da0f63c8b86835a86988d)
2024-07-23 13:06:46 -04:00