fune/dom/security/test/csp/file_strict_dynamic_script_events.html
Frederik Braun 53901256a5 Bug 1316826 - Test case for strict-dynamic blocks inline event handlers. r=dveditz
MozReview-Commit-ID: 4TS4pUNeIS1

--HG--
extra : rebase_source : e517f4898d0a9873c77e2731152ce3255b7c5938
2016-11-21 15:13:29 -05:00

14 lines
302 B
HTML

<!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>