summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_strict_dynamic_script_events.html
blob: 08895838217e5222a87b22159f392d7211672034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html>
<head>
  <title>Bug 1316826 - 'strict-dynamic' blocking DOM event handlers</title>
</head>
<body>
<div id="testdiv">blocked</div>

 <img src='/nonexisting.jpg'
      onerror='document.getElementById("testdiv").innerHTML = "allowed";'
      style='display:none'>

</body>
</html>