sandbox-allow-scripts-subframe.sub.html (610B)
1 <!DOCTYPE html> 2 <html> 3 4 <head> 5 <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.--> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src='../support/logTest.sub.js?logs=["Message"]'></script> 9 <script src="../support/alertAssert.sub.js?alerts=[]"></script> 10 </head> 11 12 <body> 13 <script> 14 window.onmessage = function(e) { 15 log(e.data); 16 } 17 </script> 18 19 <iframe src="support/sandboxed-data-iframe.sub.html?sandbox=allow-scripts"></iframe> 20 </body> 21 22 </html>