file_iframe_sandbox_a_if5.html 605 B

1234567891011121314151617181920212223
  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. <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
  8. </head>
  9. <script type="text/javascript">
  10. function ok_wrapper(result, desc) {
  11. window.parent.ok_wrapper(result, desc);
  12. }
  13. </script>
  14. <body>
  15. I am sandboxed but with "allow-scripts allow-same-origin"
  16. <iframe sandbox='allow-scripts allow-same-origin' id='if_6' src='file_iframe_sandbox_a_if6.html' height="10" width="10"></iframe>
  17. </body>
  18. </html>