- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / constrained_files / block_alert.html
1 <html>\r
2   <head>\r
3     <title>Block alert from blocked popup?</title>\r
4     <script>\r
5       if (location.search.indexOf("popup") != -1) {\r
6         document.write("This should still be inside the tab, but it is now " +\r
7           "in a new window!");\r
8         alert("The popup has been \"popped out\" of the tab");\r
9       } else {\r
10         window.open("?popup");\r
11       }\r
12     </script>\r
13   </head>\r
14 <body>\r
15 <h1>Block alert from blocked popup?</h1>\r
16 </body>\r
17 </html>\r