1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:30:59 +00:00
serenity/Userland
Andreas Kling 34591ff3d9 LibWeb: Use a separate class for shared image requests
As it turns out, making everyone piggyback on HTML::ImageRequest had
some major flaws, as HTMLImageElement may decide to abort an ongoing
fetch or wipe out image data, even when someone else is using the same
image request.

To avoid this issue, this patch introduces SharedImageRequest, and then
implements ImageRequest on top of that.

Other clients of the ImageRequest API are moved to SharedImageRequest
as well, and ImageRequest is now only used by HTMLImageElement.

This fixes an issue with image data disappearing and leading to asserts
and/or visually absent images.
2023-06-14 14:23:17 +02:00
..
Applets AudioApplet: Read and apply config value only once 2023-05-29 13:22:58 +02:00
Applications Applications: Stop lying about string types 2023-06-13 01:49:02 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos Applications+Demos+LibGUI: Migrate to fallible WizardDialogs and Pages 2023-06-09 17:21:43 +02:00
DevTools SQLStudio: Stop lying about string types 2023-06-13 01:49:02 +02:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games Userland: Filter out unsupported file types in open dialogs in more apps 2023-06-11 09:40:17 +01:00
Libraries LibWeb: Use a separate class for shared image requests 2023-06-14 14:23:17 +02:00
Services LibSQL+SQLServer: Do not re-open databases 2023-06-13 16:33:42 -04:00
Shell Shell: Stop lying about string types 2023-06-13 01:49:02 +02:00
Utilities image: Add a --move-alpha-to-rgb flag 2023-06-14 08:30:06 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00