file_iframe_sandbox_form_pass.html (386B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Test for Bug 341604</title> 6 </head> 7 8 <body onLoad="doStuff()"> 9 I should be loaded by a form submit from a sandbox with 'allow-forms' 10 </body> 11 </html> 12 13 <script> 14 function doStuff() { 15 window.parent.postMessage({ok: true, desc: "documents sandboxed with allow-forms should be able to submit forms"}, "*"); 16 } 17 </script>