Index: chrome/test/data/constrained_files/block_alert.html |
=================================================================== |
--- chrome/test/data/constrained_files/block_alert.html (revision 0) |
+++ chrome/test/data/constrained_files/block_alert.html (revision 0) |
@@ -0,0 +1,17 @@ |
+<html> |
+ <head> |
+ <title>Block alert from blocked popup?</title> |
+ <script> |
+ if (location.search.indexOf("popup") != -1) { |
Finnur
2008/11/11 07:30:03
The indentation here is weird. Same below...
|
+ document.write("This should still be inside the tab, but it is now in " + |
Finnur
2008/11/11 07:30:03
Not conforming to 80 chars? :)
|
+ "a new window!"); |
+ alert("The popup has been \"popped out\" of the tab"); |
+ } else { |
+ window.open("?popup"); |
+ } |
+ </script> |
+ </head> |
+<body> |
+<h1>Block alert from blocked popup?</h1> |
+</body> |
+</html> |