LeOSium_old/patches/0001-Vanadium/0048-mark-non-secure-origin...

23 lines
777 B
Diff
Raw Normal View History

2023-11-18 11:23:04 +01:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Fri, 20 Oct 2017 21:20:50 -0400
Subject: [PATCH] mark non-secure origins as dangerous
---
components/security_state/core/security_state.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/security_state/core/security_state.cc b/components/security_state/core/security_state.cc
index eb8f4e76b421d..6158bbe82a988 100644
--- a/components/security_state/core/security_state.cc
+++ b/components/security_state/core/security_state.cc
@@ -137,7 +137,7 @@ SecurityLevel GetSecurityLevel(
return NONE;
}
#endif // !BUILDFLAG(IS_ANDROID)
- return WARNING;
+ return DANGEROUS;
}
return NONE;
}