tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / http / tests / security / popup-allowed-by-sandbox-is-sandboxed-control.html
1 <script>
2 if (window.layoutTestController) {
3     layoutTestController.dumpAsText();
4     layoutTestController.waitUntilDone();
5     layoutTestController.setCanOpenWindows(true);
6     layoutTestController.setCloseRemainingWindowsWhenComplete(true);
7 }
8 </script>
9 <p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p>
10 <p>If you change this test, please be sure to change popup-allowed-by-sandbox-is-sandboxed.html as well!</p>
11 <iframe sandbox="allow-scripts allow-popups allow-forms"
12   src="data:text/html,
13        <script>
14        var win = window.open('data:text/html,<form action=javascript:alert(/PASS/) ><input type=submit></form><script>document.forms[0].submit(); if (window.layoutTestController) layoutTestController.notifyDone();<\/script>', '_blank');
15        </script>"
16   ></iframe>