Skip to content

Commit

Permalink
Quote nonce attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Mar 2, 2021
1 parent 979fdb9 commit 40a816f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/content-security-policy/support/alertAssert.sub.js?alerts=%5B%22PASS%20(1%2F6)%22%2C%22PASS%20(2%2F6)%22%2C%22PASS%20(3%2F6)%22%2C%22PASS%20(4%2F6)%22%2C%22PASS%20(5%2F6)%22%2C%22PASS%20(6%2F6)%22%5D"></script>
<script nonce=EDNnf03nceIOfn39fn3e9h3sdfa>
<script nonce="EDNnf03nceIOfn39fn3e9h3sdfa">
window.addEventListener('securitypolicyviolation', function(e) {
alert_assert("Fail");
});
Expand Down

0 comments on commit 40a816f

Please sign in to comment.