blob: 1329683c88bf584cbc63479f3ba3f6e06281f223 [file] [log] [blame]
<!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>