servo/components/devtools
Kingsley Yung 0537c29064
devtools: Use request destination as cause_type in NetworkEventActor (#38162)
The cause_type in NetworkEventActor was derived from a hard-coded
pattern match on the request URL file extension.

This patch replaces the hard-coded pattern matching with the Destination
field of Request, to provide a better alignment with the Fetch
specification.

Testing: Updated unit tests.
Fixes: #38151

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-07-18 22:20:26 +00:00
..
actors devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00
actor.rs Devtools: send error replies instead of ignoring messages (#37686) 2025-07-07 12:40:44 +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 early DevToolsHttpRequest and relocate response reporting to main_fetch (#37906) 2025-07-15 05:41:11 +00:00
network_handler.rs Send early DevToolsHttpRequest and relocate response reporting to main_fetch (#37906) 2025-07-15 05:41:11 +00:00
protocol.rs Devtools: send error replies instead of ignoring messages (#37686) 2025-07-07 12:40:44 +00:00
resource.rs Devtools: send error replies instead of ignoring messages (#37686) 2025-07-07 12:40:44 +00:00