Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / constrained_files / block_alert.html
blob063d972fb9ca707757b81236b452611ad40073eb
1 <html>
2 <head>
3 <title>Block alert from blocked popup?</title>
4 <script>
5 if (location.search.indexOf("popup") != -1) {
6 document.write("This should still be inside the tab, but it is now " +
7 "in a new window!");
8 alert("The popup has been \"popped out\" of the tab");
9 } else {
10 window.open("?popup");
12 </script>
13 </head>
14 <body>
15 <h1>Block alert from blocked popup?</h1>
16 </body>
17 </html>