file_iframe_sandbox_window_form_pass.html (525B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Test for Bug 766282</title> 6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 7 </head> 8 9 <script> 10 function doStuff() { 11 window.opener.parent.ok_wrapper(true, "Sandboxed forms browsing context flag NOT set on new auxiliary browsing context."); 12 13 self.close(); 14 } 15 </script> 16 17 <body onLoad="doStuff()"> 18 I should be loaded by a form submit from a window opened from a sandbox with 'allow-forms allow-same-origin'. 19 </body> 20 </html>