Bug 1880216 - Migrate Fenix docs into Sphinx. r=owlish,geckoview-reviewers,android...
[gecko.git] / dom / html / test / file_iframe_sandbox_c_if5.html
blobbd368de42574ab9392f4b679e0a101b4e20b1a38
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test for Bug 341604</title>
6 <script src="/tests/SimpleTest/EventUtils.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
9 </head>
10 <script type="text/javascript">
11 function ok(result, desc) {
12 window.parent.ok_wrapper(result, desc);
14 </script>
15 <body onLoad="doStuff()">
16 I am sandboxed but with "allow-same-origin"
18 <a href = 'javascript:ok(false, "documents sandboxed without allow-scripts should not be able to run script with javascript: URLs");' id='a_link'>click me</a>
19 </body>
20 </html>