OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.setCanOpenWindows(); | 6 testRunner.setCanOpenWindows(); |
7 testRunner.setPopupBlockingEnabled(true); | 7 testRunner.setPopupBlockingEnabled(true); |
8 testRunner.setCloseRemainingWindowsWhenComplete(true); | 8 testRunner.setCloseRemainingWindowsWhenComplete(true); |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 } | 10 } |
(...skipping 27 matching lines...) Expand all Loading... |
38 </head> | 38 </head> |
39 <body onload="test()"> | 39 <body onload="test()"> |
40 <select onchange="onpopup()" id="control1"><option value="0">abcd</option><optio
n value="0">efgh</option></select> | 40 <select onchange="onpopup()" id="control1"><option value="0">abcd</option><optio
n value="0">efgh</option></select> |
41 If the pop-up was not blocked then there will be an PASS message. Otherwise, the
test fails. | 41 If the pop-up was not blocked then there will be an PASS message. Otherwise, the
test fails. |
42 <form id="form" action="data:text/html,<script>console.log('PASSED')</script>" t
arget="target"> | 42 <form id="form" action="data:text/html,<script>console.log('PASSED')</script>" t
arget="target"> |
43 <input id="control2" type="submit" value="Submit to new window"/> | 43 <input id="control2" type="submit" value="Submit to new window"/> |
44 </form> | 44 </form> |
45 <form id="form2" action="data:text/html,<b>hello!</b><script>window.testRunner &
& testRunner.notifyDone()</script>" target="panel"> | 45 <form id="form2" action="data:text/html,<b>hello!</b><script>window.testRunner &
& testRunner.notifyDone()</script>" target="panel"> |
46 <input type="submit" value="Submit local page Javascript"/> | 46 <input type="submit" value="Submit local page Javascript"/> |
47 </form> | 47 </form> |
48 <iframe id="target"></iframe><iframe id="panel"></iframe> | 48 <iframe name="target"></iframe><iframe name="panel"></iframe> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |