servo/components/devtools
atbrakhi 7a801f0ef5
DevTools: Implement support for showing source_content in Debugger > Source panel (#36774)
This patch adds support for showing source_content in `Debugger >
Source` panel. This works by handling the clients `source` messages in
the source actor. These source actors are already advertised as resource
via the watcher, populating the source list. We also update the
`sources` handler in thread actor for future work in thread debugging.

Note: while this PR also adds support for showing worker script
source_content, worker has been broken (See
https://github.com/servo/servo/issues/37012). I was able to confirm the
`content_type` and `source_content` for worker script in logs.


![image](https://github.com/user-attachments/assets/bd53ea29-003a-4b5e-a3e8-6e280afa4671)

Fixes: part of https://github.com/servo/servo/issues/36027

---------

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
2025-06-13 09:31:33 +00:00
..
actors DevTools: Implement support for showing source_content in Debugger > Source panel (#36774) 2025-06-13 09:31:33 +00:00
actor.rs devtools: improve ID Naming for better readability and context (#35942) 2025-03-13 07:36:54 +00:00
build.rs Devtools device description: improve how Servo is advertised in Firefox's about:debugging (fixes #27528) (#32227) 2024-05-08 04:12:18 +00:00
Cargo.toml Organize component Cargo.toml dependencies (#36224) 2025-03-30 19:03:54 +00:00
id.rs devtools: Fix id collisions by using incrementing counters (#35971) 2025-04-01 09:00:40 +00:00
lib.rs DevTools: Implement support for showing source_content in Debugger > Source panel (#36774) 2025-06-13 09:31:33 +00:00
network_handler.rs Replace NetworkEventUpdateMsg with ResourcesUpdatedArray (#37384) 2025-06-11 22:07:57 +00:00
protocol.rs Replace NetworkEventUpdateMsg with ResourcesUpdatedArray (#37384) 2025-06-11 22:07:57 +00:00
resource.rs DevTools: Improve resource_available to handle multiple connections (#36933) 2025-05-09 12:06:33 +00:00