servo/components/shared/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
..
Cargo.toml Allow console commands to appear in log files (#37631) 2025-06-23 18:42:36 +00:00
lib.rs devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00