file_iframe_sandbox_d_if8.html (459B)
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 </head> 8 9 <script type="application/javascript"> 10 function doTest() { 11 window.parent.modify_if_8(); 12 } 13 </script> 14 15 <body onload="doTest()"> 16 I am sandboxed with 'allow-scripts' and 'allow-same-origin' the first time I am loaded, and with 'allow-scripts' the second time 17 </body> 18 </html>