From 2366a67260ea4f50380ab8d88fe511145f708592 Mon Sep 17 00:00:00 2001 From: elomscansio <163124154+elomscansio@users.noreply.github.com> Date: Sun, 20 Apr 2025 12:54:20 +0100 Subject: [PATCH] Fix missing settings in script module requests (#36606) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR resolves [#36592](https://github.com/servo/servo/issues/36592) by updating the `RequestBuilder` used in `script_module.rs` to include: - `insecure_requests_policy` - `has_trustworthy_ancestor_origin` - `policy_container` These fields are critical for enforcing proper fetch behavior under modern web security models, and were previously omitted from module script requests. This change ensures that scripts loaded via `