1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 11:37:35 +00:00
serenity/Userland/Libraries/LibWeb/Fetch
Shannon Booth f9e5b43b7a LibWeb: Rename URL platform object to DOMURL
Along with putting functions in the URL namespace into a DOMURL
namespace.

This is done as LibWeb is in an awkward situation where it needs
two URL classes. AK::URL is the general purpose URL class which
is all that is needed in 95% of cases. URL in the Web namespace
is needed predominantly for interfacing with the javascript
interfaces.

Because of two URLs in the same namespace, AK::URL has had to be
used throughout LibWeb. If we move AK::URL into a URL namespace,
this becomes more painful - where ::URL::URL is required to
specify the constructor (and something like
::URL::create_with_url_or_path in other places).

To fix this problem - rename the class in LibWeb implementing the
URL IDL interface to DOMURL, along with moving the other Web URL
related classes into this DOMURL folder.

One could argue that this name also makes the situation a little
more clear in LibWeb for why these two URL classes need be used
in the first place.
2024-02-25 08:54:31 +01:00
..
Fetching LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Infrastructure LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Body.cpp LibJS: Stop propagating small OOM errors from the Error object 2023-09-09 13:03:25 -04:00
Body.h LibWeb: Make Fetch::Infrastructure::Body be GC allocated 2023-08-19 15:12:00 +02:00
Body.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
BodyInit.cpp LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
BodyInit.h LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
BodyInit.idl LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Enums.cpp LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Enums.h LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
FetchMethod.cpp LibWeb: Do not use JS::Handle for captures of AbortSignal callbacks 2023-09-26 21:25:54 +02:00
FetchMethod.h LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
Headers.cpp LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Headers.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Headers.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
HeadersIterator.cpp LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
HeadersIterator.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Request.cpp LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Request.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Request.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Response.cpp LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Response.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Response.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00