mirror of
https://github.com/RGBCube/serenity
synced 2026-01-18 10:51:04 +00:00
Previously, we'd invoke the load/fail callbacks synchronously for resources that were already loaded and cached. This patch uses deferred_invoke() in the already-loaded case to ensure that we always invoke these callbacks in a consistent manner. This isn't to fix a specific issue, but rather because I kept seeing these callbacks being invoked synchronously on top of an already-tall call stack, and it was hard to reason about what was going on. |
||
|---|---|---|
| .. | ||
| ContentFilter.cpp | ||
| ContentFilter.h | ||
| FrameLoader.cpp | ||
| FrameLoader.h | ||
| ImageLoader.cpp | ||
| ImageLoader.h | ||
| ImageResource.cpp | ||
| ImageResource.h | ||
| LoadRequest.cpp | ||
| LoadRequest.h | ||
| Resource.cpp | ||
| Resource.h | ||
| ResourceLoader.cpp | ||
| ResourceLoader.h | ||