chromium/third_party/blink/web_tests/external/wpt/content-security-policy/navigate-to/support/spv-test-iframe2.sub.html

<!DOCTYPE html>
<head>
</head>
<body>
  <script>
    window.addEventListener('securitypolicyviolation', function(e) {
      top.postMessage({iframe: 'iframe1', violatedDirective: e.violatedDirective}, '*');
    });
    setTimeout(function() {
      top.postMessage("end_test", "*");
    }, 4000);
  </script>
  IFRAME 2
</body>