policy-does-not-affect-child.sub.html (716B)
1 <!DOCTYPE html> 2 <html> 3 4 <head> 5 <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.--> 6 <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'nonce-abc';"> 7 <title>object-src-url-blocked</title> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src='../support/logTest.sub.js?logs=["PASS"]'></script> 11 <script src="../support/alertAssert.sub.js?alerts=[]"></script> 12 </head> 13 14 <body> 15 <script nonce='abc'> 16 window.onmessage = function(e) { 17 log(e.data); 18 } 19 </script> 20 <iframe src="support/log-pass.html"></iframe> 21 <div id="log"></div> 22 </body> 23 24 </html>