summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/generic/support/sandboxed-eval.sub.html
blob: 9480e521de21ef930674721de943f96e1fd1219a (plain)
1
2
3
4
<script>
  window.parent.postMessage('PASS (1/2): Script can execute', '*');
  eval("window.parent.postMessage('PASS (2/2): Eval works', '*')");
</script>