feature: Hot security tips (#11810)
* 🔧 Add security issue detection (and logs) * 🔧 Check for it on load * 👷 Add some tests * 👷 Make the linter happy * 🔧 Allow them to be enabled by force * 📝 Make message slightly prettier * 🔧 Fix a typo in the code comment * 🔧 Classic mistake * 🚀 Optimize things a bit more * 👷 Add tests, fix tests * 📝 Document things * 🔧 Make linter happy * 🔧 One more piece of cleanup
This commit is contained in:
parent
62d2a3472f
commit
d586ef2f39
10 changed files with 541 additions and 14 deletions
10
spec/fixtures/pages/insecure-resources.html
vendored
Normal file
10
spec/fixtures/pages/insecure-resources.html
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="http://127.0.0.1:8881/save_page/test.css">
|
||||
<script type="text/javascript">
|
||||
window.ELECTRON_ENABLE_SECURITY_WARNINGS = true
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue