file_iframe_sandbox_d_if10.html (436B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Test for Bug 341604</title> 6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 7 <script src="/tests/SimpleTest/EventUtils.js"></script> 8 </head> 9 <script type="application/javascript"> 10 function doTest() { 11 window.parent.postMessage({type: "if_10"}, "*"); 12 } 13 </script> 14 <body onload='doTest()'> 15 I am sandboxed with 'allow-scripts' 16 </body> 17 </html>