ladybird/Libraries/LibDevTools
Sam Atkins e667aaaab1 LibDevTools+LibWeb: Send IndexedDB change updates
The Storage panel expects storesUpdate messages after watched storage
changes. Summarize committed IndexedDB mutation logs into DevTools paths
and forward them through WebContent so Firefox can refresh database,
object-store, and record rows without polling.

Firefox's behaviour is less than ideal here. A lot of things don't
update automatically even inspecting a page in Firefox. Some
things (like new databases) won't show up until you fully refresh the
page. So that makes it a bit hard to know that we're doing things
correctly. As far as I can tell, we are at least behaving as well as
Firefox requires.

We do have one workaround: Firefox doesn't display record updates
without a manual refresh, and in fact any change messages for them show
up as rows in the host's database table. So for now, we filter them out
to avoid visual weirdness in the inspector.
2026-06-19 14:25:39 +02:00
..
Actors LibDevTools+LibWeb: Send IndexedDB change updates 2026-06-19 14:25:39 +02:00
Actor.cpp LibDevTools: Re-implement how we handle ordered responses 2025-03-13 16:56:28 -04:00
Actor.h LibDevTools: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
CMakeLists.txt LibDevTools+LibWeb: Show IndexedDB in DevTools 2026-06-19 14:25:39 +02:00
Connection.cpp LibDevTools: Handle fragmented protocol packets 2026-06-18 22:53:30 +02:00
Connection.h LibDevTools: Handle fragmented protocol packets 2026-06-18 22:53:30 +02:00
DevToolsDelegate.h LibDevTools+LibWeb: Send IndexedDB change updates 2026-06-19 14:25:39 +02:00
DevToolsServer.cpp LibDevTools: Avoid stale callbacks during server teardown 2026-06-04 20:54:33 +01:00
DevToolsServer.h LibDevTools: Avoid stale callbacks during server teardown 2026-06-04 20:54:33 +01:00
Forward.h LibDevTools+LibWeb: Show IndexedDB in DevTools 2026-06-19 14:25:39 +02:00
IndexedDBSerialization.cpp LibDevTools+LibWeb: Send IndexedDB change updates 2026-06-19 14:25:39 +02:00
IndexedDBSerialization.h LibDevTools+LibWeb: Send IndexedDB change updates 2026-06-19 14:25:39 +02:00
Node.h LibDevTools: Pull DOMNode type and related code into new Node.h 2025-10-20 10:51:19 +01:00
StorageHelpers.cpp LibDevTools+LibWeb: Show IndexedDB in DevTools 2026-06-19 14:25:39 +02:00
StorageHelpers.h LibDevTools+LibWeb: Show IndexedDB in DevTools 2026-06-19 14:25:39 +02:00