summaryrefslogtreecommitdiffstats
path: root/dom/security/test/contentverifier/file_about_newtab_bad_csp.html
blob: f8044b73f6547fd417cea78febc33096f0379034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Testpage for CSP violation (inline script)</title>
</head>
<body>
  CSP violation test succeeded.
  <script>
    // This inline script would override the success string if loaded.
    document.body.innerHTML = "CSP violation test failed.";
  </script>
</body>
</html>