servo/components
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
..
allocator Organize component Cargo.toml dependencies (#36224) 2025-03-30 19:03:54 +00:00
background_hang_monitor bhm: Add backtrace demangling (#37819) 2025-07-02 13:39:36 +00:00
bluetooth Replace bluetooth Readme with corrected version from devices repository (#36429) 2025-04-10 18:02:45 +00:00
canvas canvas: Move current_default_path to script CanvasState (#38114) 2025-07-18 05:45:53 +00:00
compositing doc: Add doc for compositor/webview/embedder related to window/rect/inner_size/rendering_context (#38110) 2025-07-17 13:40:28 +00:00
config Add CookieStore pref and add baseline test expectations (#38154) 2025-07-18 02:21:34 +00:00
constellation Refactor constellation broadcast channel (#38077) 2025-07-15 13:57:05 +00:00
deny_public_fields
devtools devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
geometry script: Get the screen metrics from the WebViewDelegate instead of via the compositor (#38020) 2025-07-12 16:07:39 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive
layout layout: Fix bug where whitespace didn't have line decorations (#38007) 2025-07-13 13:34:51 +00:00
malloc_size_of Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
media compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
metrics Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
net devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00
pixels add support for apng and webp animated image decoding (#37637) 2025-07-10 08:54:16 +00:00
profile Profile: Resident Segments was not correctly parsing /proc/self/smaps as the regexp did not work anymore. (#37549) 2025-06-19 09:19:31 +00:00
rand Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
range
script Implement allow_declarative_shadow_roots for async html parser (#38150) 2025-07-18 12:23:01 +00:00
script_bindings script: Impl safe from_jsval wrapper (#38149) 2025-07-17 19:32:36 +00:00
servo doc: Add doc for compositor/webview/embedder related to window/rect/inner_size/rendering_context (#38110) 2025-07-17 13:40:28 +00:00
servo_tracing [tracing] Add convenience macro for function tracing (#36573) 2025-04-22 19:58:20 +00:00
shared devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00
timers script: Allow reflows that do not produce display lists (#37186) 2025-06-12 19:25:04 +00:00
url script: complete resolve_module_specifier (#37552) 2025-06-21 06:17:27 +00:00
webdriver_server Webdriver: Forward ErrorStatus for take element screenshot (#38134) 2025-07-18 06:42:51 +00:00
webgl WebGL2: support TexImage3D (#37718) 2025-07-09 14:22:03 +00:00
webgpu Add a basic caching mechanism for ImageKeys. (#37369) 2025-07-03 13:16:43 +00:00
webxr Chore: Fix warnings for openxr (#38045) 2025-07-14 06:01:37 +00:00