summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/navigate-to/support/spv-test-iframe3.sub.html
blob: 09dbf6863dc7c8374fc082aa63f36690fe80a4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<head>
  <script>
    window.addEventListener('securitypolicyviolation', function(e) {
      top.postMessage({iframe: 'iframe3', violatedDirective: e.violatedDirective}, '*');
    });
  </script>
</head>

<body>
  IFRAME 3
</body>