servo/components/devtools
Usman Yahaya Baba 2ad5b24225
Send WillNavigate earlier during navigation startup (#37778)
The will-navigate message tells the devtools client to expect a
navigation for a browsing context. This makes the network monitor clear
any previous entries and show the requests for the new page that is
loaded. In order to support this correctly, we need to send the
navigation notification from the constellation instead of the script
thread, otherwise we silently ignore navigations triggered by the
browser URL bar.




Testing: Ran servo in devtools mode , now the requests appear for new
loaded page
Fixes: https://github.com/servo/servo/issues/37334

---------

Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
2025-07-05 11:35:37 +00:00
..
actors Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
actor.rs DevTools: sources for HTML files should be the whole HTML file (#37456) 2025-06-21 18:46:35 +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 Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
network_handler.rs Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
protocol.rs Replace NetworkEventUpdateMsg with ResourcesUpdatedArray (#37384) 2025-06-11 22:07:57 +00:00
resource.rs Fix network event update Message (#37543) 2025-06-19 16:00:37 +00:00