ladybird/Services/WebContent
Sam Atkins 26fdc5c09d LibWeb: Collect layout inspection data only when DevTools is connected
Grid and flex inspector payloads are only consumed by DevTools, but
layout currently builds them for every page. Gate that collection on an
active DevTools client so ordinary browsing avoids the extra CPU work
and retained memory.

DevTools may connect after the page has already completed layout, so
force one catch-up layout pass when the first DevTools client attaches.
After that, normal relayouts keep the data fresh until DevTools
disconnects. Inspection requests only flush dirty layout instead of
forcing repeated collection passes.

When DevTools detaches, clear the stored inspection data and overlays.
2026-06-01 17:39:32 +01:00
..
CMakeLists.txt LibWasm+LibWeb: Add per-module wasm compile stats 2026-05-27 09:52:34 +02:00
CompositorConnection.cpp Compositor: Drop redundant context state 2026-05-27 20:29:36 +01:00
CompositorConnection.h Compositor: Drop redundant context state 2026-05-27 20:29:36 +01:00
ConnectionFromClient.cpp LibWeb: Collect layout inspection data only when DevTools is connected 2026-06-01 17:39:32 +01:00
ConnectionFromClient.h LibWebView+WebContent: Make page IDs browser-assigned 2026-05-30 17:30:00 +01:00
ConsoleGlobalEnvironmentExtensions.cpp WebContent: Make more use of Value::as_if 2026-02-28 10:24:37 -05:00
ConsoleGlobalEnvironmentExtensions.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
DevToolsConsoleClient.cpp LibJS: Drop source ranges from bytecode source maps 2026-05-14 09:41:03 +02:00
DevToolsConsoleClient.h LibJS+LibWeb: Make DOMException hold an [[ErrorData]] slot 2026-04-08 20:33:53 +02:00
Forward.h Compositor+LibWebView+WebContent: Scaffold opt-in Compositor process 2026-05-22 19:50:42 +01:00
main.cpp LibWebView+WebContent: Remove compositor thread option 2026-05-25 00:45:24 +02:00
PageClient.cpp LibWeb: Collect layout inspection data only when DevTools is connected 2026-06-01 17:39:32 +01:00
PageClient.h LibWeb: Collect layout inspection data only when DevTools is connected 2026-06-01 17:39:32 +01:00
PageHost.cpp LibWebView+WebContent: Make page IDs browser-assigned 2026-05-30 17:30:00 +01:00
PageHost.h LibWebView+WebContent: Make page IDs browser-assigned 2026-05-30 17:30:00 +01:00
WebContentClient.ipc LibWebView+WebContent: Make page IDs browser-assigned 2026-05-30 17:30:00 +01:00
WebContentCompositorHost.cpp Compositor: Drop redundant context state 2026-05-27 20:29:36 +01:00
WebContentCompositorHost.h LibWebView+WebContent: Remove compositor thread option 2026-05-25 00:45:24 +02:00
WebContentConsoleClient.cpp LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
WebContentConsoleClient.h WebContent: Replace WeakPtr/Weakable with GC::Ptr for console client 2026-01-30 20:57:42 +01:00
WebContentServer.ipc LibWebView+WebContent: Make page IDs browser-assigned 2026-05-30 17:30:00 +01:00
WebDriverClient.ipc WebContent: Remove unused get_window_handle() IPC method 2026-02-15 08:21:41 -05:00
WebDriverConnection.cpp LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
WebDriverConnection.h LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
WebDriverServer.ipc WebDriver: Send window handle asynchronously after WebContent connects 2026-02-15 08:21:41 -05:00
WebUIClient.ipc LibWeb+LibWebView+WebContent: Introduce a WebUI framework 2025-03-28 07:31:10 -04:00
WebUIConnection.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
WebUIConnection.h LibIPC+LibWeb+LibWebView+Services: Add IPC::TransportHandle 2026-03-12 20:32:55 +01:00
WebUIServer.ipc LibWeb+LibWebView+WebContent: Introduce a WebUI framework 2025-03-28 07:31:10 -04:00