1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00
serenity/Userland/Libraries/LibWeb/Loader
Linus Groh 7400e3d8fc LibWeb: Don't call ResourceLoader error callback on 4xx status code
A website with a 4xx status code is still a valid website, we should not
artificially hide it. In fact, many websites implement custom 404 error
pages for example, often containing search functionality or links back
to the homepage.
This might have implications regarding the loading of stylesheets where
the request 404s, but since we were not handling 5xx status codes as
errors either, I think that's fine for now (but might need additional
work later). Worst case, the parser rejects to load some error page HTML
as CSS :^)
2021-04-20 19:47:23 +02:00
..
ContentFilter.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ContentFilter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CSSLoader.cpp LibWeb: Set Cookie header on remaining resource requests 2021-04-15 09:46:49 +02:00
CSSLoader.h LibWeb: Give CSSLoader a backpointer to its owner element 2021-03-08 16:03:14 +01:00
FrameLoader.cpp LibWeb: Set Cookie header on remaining resource requests 2021-04-15 09:46:49 +02:00
FrameLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ImageLoader.cpp LibWeb: Set Cookie header on <img> and <object> resource requests 2021-04-15 09:46:49 +02:00
ImageLoader.h LibWeb: Set Cookie header on <img> and <object> resource requests 2021-04-15 09:46:49 +02:00
ImageResource.cpp LibWeb+LibImageDecoderClient: Reuse ImageDecoder service process 2021-02-20 11:37:55 +01:00
ImageResource.h ImageDecoder+LibImageDecoder+LibWeb: Support animations in ImageDecoder 2021-01-29 22:38:22 +01:00
LoadRequest.cpp LibWeb: Helper for creating load requests with a Cookie header 2021-04-15 09:46:49 +02:00
LoadRequest.h LibWeb: Helper for creating load requests with a Cookie header 2021-04-15 09:46:49 +02:00
Resource.cpp LibWeb: Pass optional status code to ResourceLoader callbacks 2021-04-03 16:34:34 +02:00
Resource.h LibWeb: Pass optional status code to ResourceLoader callbacks 2021-04-03 16:34:34 +02:00
ResourceLoader.cpp LibWeb: Don't call ResourceLoader error callback on 4xx status code 2021-04-20 19:47:23 +02:00
ResourceLoader.h LibWeb: Set Cookie header on <script> resource requests 2021-04-15 09:46:49 +02:00