Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / window-open-no-multiple-windows-from-iframe.html
blobf63facf4f7b351f4f1d3c2e6fa8a18d7c50838d1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows(true);
8 testRunner.setPopupBlockingEnabled(false);
9 testRunner.overridePreference('WebKitSupportsMultipleWindows', false);
10 testRunner.waitUntilDone();
13 function opened(result) {
14 // Called by the embedded iframe.
15 if (result == window) {
16 document.writeln("PASS");
17 document.close();
20 if (window.testRunner)
21 testRunner.notifyDone();
24 </script>
25 </head>
26 <body>
27 <iframe src="resources/child-opens-window.html"></iframe>
28 FAIL
29 </body>
30 </html>