Bug 1880216 - Migrate Fenix docs into Sphinx. r=owlish,geckoview-reviewers,android...
[gecko.git] / dom / html / test / file_iframe_sandbox_form_fail.html
blob6976ced8ad91ef44e26df1b6284873d76bd3dd96
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test for Bug 341604</title>
6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
8 </head>
10 <body onLoad="doStuff()">
11 I should NOT be loaded by a form submit from a sandbox without 'allow-forms'
12 </body>
13 </html>
15 <script>
16 function doStuff() {
17 window.parent.postMessage({ok: false, desc: "documents sandboxed without allow-forms should NOT be able to submit forms"}, "*");
19 </script>