<!DOCTYPE html>
<head>
  <script>
    window.addEventListener('securitypolicyviolation', function(e) {
      top.postMessage({iframe: 'iframe3', violatedDirective: e.violatedDirective}, '*');
    });
  </script>
</head>

<body>
  IFRAME 3
</body>
