servo/components/net
Simon Wülker 1b6b21cb85
Implement nonce attribute to pass more CSP checks (#35876)
* Add doc comments to RequestBuilder fields/methods

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Implement Request::cryptographic_nonce_metadata

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Implement HTMLOrSVGElement::nonce

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Set request cryptographic nonce metadata for link elements

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Set request's cryptographic nonce when fetching scripts

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Forward request nonce to rust-content-security-policy

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-10 09:25:34 +00:00
..
fetch Implement nonce attribute to pass more CSP checks (#35876) 2025-03-10 09:25:34 +00:00
protocols Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
tests Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
async_runtime.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
Cargo.toml deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
connector.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
cookie.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
cookie_storage.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
decoder.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
filemanager_thread.rs servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823) 2025-02-04 18:24:24 +00:00
hosts.rs Replace the lazy_static crate with std::sync::LazyLock in components/net (#33046) 2024-08-14 12:15:55 +00:00
hsts.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
http_cache.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
http_loader.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
image_cache.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
lib.rs libservo: Convert intercept_web_resource_load into load_web_resource (#35564) 2025-02-21 14:36:42 +00:00
local_directory_listing.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
mime_classifier.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
request_interceptor.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
resource_thread.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
storage_thread.rs Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
subresource_integrity.rs clippy: Fix warnings in components/net (#31626) 2024-03-13 09:40:04 +00:00
websocket_loader.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00