ladybird/Libraries/LibDevTools
Sam Atkins cb88229c3f LibDevTools: Handle fragmented protocol packets
Firefox can split a DevTools protocol packet across multiple TCP
reads. The previous reader only checked that some data was available,
then tried to synchronously read the whole length-prefixed packet from
the readiness callback. Once the socket was nonblocking this could make
startup flaky when Firefox opened the inspector.

Buffer incoming bytes instead, and only dispatch messages once a full
length-prefixed JSON payload has arrived. Add a protocol test that sends
a request in two fragments through the real DevTools server.
2026-06-18 22:53:30 +02:00
..
Actors LibDevTools: Allow editing Web Storage 2026-06-11 16:08:33 +01: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: Populate DevTools Web Storage 2026-06-11 16:08:33 +01: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: Allow editing Web Storage 2026-06-11 16:08:33 +01: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: Populate DevTools Web Storage 2026-06-11 16:08:33 +01: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: Make ErrorOr -> JsonValue helpers public 2026-06-11 16:08:33 +01:00
StorageHelpers.h LibWeb+LibDevTools: Report Web Storage changes 2026-06-11 16:08:33 +01:00