summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_script_template.html
blob: 38195929129812a85aaf031e02aa8ec77703289e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline'">
<template id="a">
  <script src="file_script_template.js"></script>
</template>
</head>
<body>
<script>
  var temp = document.getElementsByTagName("template")[0];
  var clon = temp.content.cloneNode(true);
  document.body.appendChild(clon);
</script>
</body>
</html>