servo/components/devtools
Usman Yahaya Baba 8e1cf31db3
Replace NetworkEventUpdateMsg with ResourcesUpdatedArray (#37384)
*Replaces NetworkEventUpdateMsg with ResourcesUpdatedArray in
HttpResponse case of handle_network_event *
- Adds ResourcesUpdatedArray and UpdateEntry structs in
`devtools/network_handler.rs` to hold an array of updates
(requestHeaders, responseCookies). Updates handle_network_event to use
BrowsingContextActor::resource_available for sending
"resources-updated-array").
- Adds browsing_context_actor_name parameter to handle_network_event to
resolve borrow checker issues and enable BrowsingContextActor lookup.
- Ensures borrow safety by scoping mutable actor access.

Testing: *Does not require test*
Fixes: part of https://github.com/servo/servo/issues/33556

---------

Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
2025-06-11 22:07:57 +00:00
..
actors Update handle_network_event to use BrowsingContextActor for HttpRequest (#37263) 2025-06-10 14:11:39 +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 Update handle_network_event to use BrowsingContextActor for HttpRequest (#37263) 2025-06-10 14:11:39 +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