Update handle_network_event to use BrowsingContextActor for HttpRequest (#37263)

- Add browsing_context_actor_name parameter to handle_network_event
- Replace NetworkEventMsg in HttpRequest case with
BrowsingContextActor::resource_available
- Update DevTools caller in lib.rs to pass browsing_context_actor_name

Testing: 
Fixes:
https://github.com/servo/servo/issues/33556#issuecomment-2756544430

---------

Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
This commit is contained in:
Usman Yahaya Baba 2025-06-10 15:11:39 +01:00 committed by GitHub
parent 5c597f98e0
commit e1ec650cfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 29 deletions

View file

@ -295,7 +295,7 @@ impl RootActor {
sources: false,
highlightable: true,
custom_highlighters: true,
network_monitor: false,
network_monitor: true,
},
}
}