summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_csp_meta_uir.html
blob: dba1030975651f1097580e39c16a79d07a621de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
 <meta charset="UTF-8">
 <title>Hello World</title>
 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
</head>
<body>
  <script>
    document.write("<a href='" + document.location.href.replace(/^https/, "http") + "' id='mylink'>Click me</a>");
  </script>
</body>
</html>