summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/inheritance/support/iframe-do.sub.html
blob: effc1adcdde2b0c85eee53d2a83cc2219eeb05b2 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<meta http-equiv="Content-Security-Policy" content="img-src {{GET[img-src]}}">
<script>
  window.addEventListener('message', function(e) {
    eval(e.data);
  });
  top.postMessage('ready', '*');
</script>