Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4841)

Unified Diff: chrome/test/data/popup_blocker/popup-many.html

Issue 10913043: Convert the popups pyauto test to browser_tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/data/popup_blocker/popup-on-unload.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/popup_blocker/popup-many.html
===================================================================
--- chrome/test/data/popup_blocker/popup-many.html (revision 0)
+++ chrome/test/data/popup_blocker/popup-many.html (revision 0)
@@ -0,0 +1,20 @@
+<html>
+<head>
+<title>Popup created using window.open</title>
+<script>
+function popup(name) {
+ window.open("data:text/html,<title>Popup Success!</title>" +
+ "you should not see this message if popup blocker is enabled",
+ name, "menubar=1, resizable=1, width=350, height=250");
+}
+
+function test() {
+ popup('mywindow');
+ popup('_blank');
+}
+</script>
+</head>
+<body onload="test()">
+pop-up test page
+</body>
+</html>
Property changes on: chrome\test\data\popup_blocker\popup-many.html
___________________________________________________________________
Added: svn:mime-type
+ text/html
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/data/popup_blocker/popup-on-unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698