OLD | NEW |
1 <script> | 1 <script> |
2 if (window.testRunner) { | 2 if (window.testRunner) { |
3 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
4 testRunner.setCanOpenWindows(true); | 4 testRunner.setCanOpenWindows(true); |
5 } | 5 } |
6 </script> | 6 </script> |
7 <p>To run this test outside of DumpRenderTree, please disable your popup blocker
!</p> | 7 <p>To run this test outside of DumpRenderTree, please disable your popup blocker
!</p> |
8 <iframe sandbox="allow-scripts" | 8 <iframe sandbox="allow-scripts" |
9 src="data:text/html, | 9 src="data:text/html, |
10 <script> | 10 <script> |
11 var win = window.open('about:blank', '_blank'); | 11 var win = window.open('about:blank', '_blank'); |
12 alert(win ? 'FAIL' : 'PASS'); | 12 console.log(win ? 'FAIL' : 'PASS'); |
13 </script>" | 13 </script>" |
14 ></iframe> | 14 ></iframe> |
OLD | NEW |