| 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.dumpChildFramesAsText(); | 7 testRunner.dumpChildFramesAsText(); |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 testRunner.setCloseRemainingWindowsWhenComplete() | 9 testRunner.setCloseRemainingWindowsWhenComplete() |
| 10 testRunner.setPopupBlockingEnabled(true); | 10 testRunner.setPopupBlockingEnabled(true); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 | 45 |
| 46 function log(msg) | 46 function log(msg) |
| 47 { | 47 { |
| 48 var res = document.getElementById('res'); | 48 var res = document.getElementById('res'); |
| 49 res.innerHTML = res.innerHTML + msg + "<br>"; | 49 res.innerHTML = res.innerHTML + msg + "<br>"; |
| 50 } | 50 } |
| 51 </script> | 51 </script> |
| 52 </head> | 52 </head> |
| 53 <body style="border: 0; margin: 0" onload="test()"> | 53 <body style="border: 0; margin: 0" onload="test()"> |
| 54 <iframe style="border: 0; margin: 0" src="resources/popup-blocking-click
-in-iframe-otherFrame.html" id="otherFrame"></iframe> | 54 <iframe style="border: 0; margin: 0" src="resources/popup-blocking-click
-in-iframe-otherFrame.html" name="otherFrame"></iframe> |
| 55 | 55 |
| 56 <p>This tests that popup blocking does not supress windows opened in an
iframe if the event handler is a function from an enclosing frame.</p> | 56 <p>This tests that popup blocking does not supress windows opened in an
iframe if the event handler is a function from an enclosing frame.</p> |
| 57 <p>To run manually click the link in the iframe above with popup blockin
g enabled.</p> | 57 <p>To run manually click the link in the iframe above with popup blockin
g enabled.</p> |
| 58 <div id="res"></div> | 58 <div id="res"></div> |
| 59 </body> | 59 </body> |
| 60 </html> | 60 </html> |
| OLD | NEW |