Andreas Kling
d03680a9e7
LibWeb: Always defer callbacks in ResourceClient::set_resource()
...
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.
2022-03-20 19:03:43 +01:00
..
2022-03-20 13:36:45 +01:00
2022-01-31 18:23:22 +00:00
2022-02-16 22:48:32 +03:30
2022-03-20 17:35:31 +00:00
2022-03-20 16:31:40 +01:00
2021-11-01 21:12:58 +01:00
2022-02-16 22:48:32 +03:30
2022-02-12 12:53:28 +01:00
2022-02-16 22:48:32 +03:30
2022-03-17 17:23:49 +00:00
2022-03-20 17:20:59 +01:00
2022-02-16 22:48:32 +03:30
2022-03-20 13:36:45 +01:00
2022-03-20 19:03:43 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-18 18:51:42 +01:00
2022-03-20 13:36:45 +01:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-02-16 22:48:32 +03:30
2022-03-20 13:36:45 +01:00
2021-12-21 13:50:00 -08:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-20 13:36:45 +01:00
2022-03-17 17:23:49 +00:00
2022-03-10 17:30:09 +01:00
2022-03-20 17:35:31 +00:00
2022-03-03 12:57:53 +01:00
2022-03-17 17:23:49 +00:00
2022-03-20 13:36:45 +01:00
2022-01-15 13:29:48 +03:30
2021-11-20 10:56:31 +01:00
2022-03-17 17:23:49 +00:00
2021-11-11 01:27:46 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-10 17:30:09 +01:00
2022-03-17 17:23:49 +00:00
2022-03-15 20:00:09 +01:00
2022-02-26 12:53:32 +01:00
2022-03-10 00:51:05 +01:00
2022-03-10 00:51:05 +01:00
2022-03-10 00:51:05 +01:00