From 9ae1fe67a3335a43aa1902d4e0f98dd4caa5ff70 Mon Sep 17 00:00:00 2001 From: Arya Nair Date: Tue, 25 Mar 2025 00:09:45 +0530 Subject: [PATCH] fix: does_settings_prohibit_mixed_security_contexts typo (#36135) Signed-off-by: Arya Nair --- components/net/fetch/methods.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index ca43bb5c917..76f640ebb82 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -958,7 +958,7 @@ fn should_upgrade_request_to_potentially_trustworty( // TODO : Needs to revisit /// -fn does_settings_prohobit_mixed_security_contexts(url: &ServoUrl) -> bool { +fn does_settings_prohibit_mixed_security_contexts(url: &ServoUrl) -> bool { if url.is_origin_trustworthy() { return true; } @@ -981,7 +981,7 @@ fn should_upgrade_mixed_content_request(request: &Request) -> bool { } // Step 1.3 - if !does_settings_prohobit_mixed_security_contexts(&url) { + if !does_settings_prohibit_mixed_security_contexts(&url) { return false; }