Fossil SCM

fossil-scm / test / csp1.html
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<title>Title: Content Security Policy Test</title>
5
</head>
6
<body>
7
<h1>Content Security Policy Test</h1>
8
9
<p>If the content-security-policy is ineffective, a pop-up dialog
10
box will appears. If there is no dialog box, then CSP is working
11
correctly.</p>
12
13
<script>alert('Content Security Policy is ineffective');</script>
14
<img src='/' onerror='alert("CSP is ineffective")'>
15
16
<p>As a double-check, open the Developer Console in your web-browser
17
and verify that two CSP violations were detected and blocked.</p>
18
</body>
19

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button