blob: 4f54015aa8e126d80345f1deb86cf8c7b533818a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE HTML>
<html>
<head>
<title>Bug 1299483 - CSP: Implement 'strict-dynamic'</title>
</head>
<body>
<div id="testdiv">blocked</div>
<script nonce="foo">
// eslint-disable-next-line no-eval
eval('document.getElementById("testdiv").innerHTML = "allowed";');
</script>
</body>
</html>
|