summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 00:15:12 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 00:15:12 +0000
commit106a0813020e6e5557d8957c51eaa0d9740b541d (patch)
treea740a357901c6502063bfda00b41be4c46084772 /chrome/test
parent67b1a17dacb119a71c7f8f3e12409920a6926b25 (diff)
downloadchromium_src-106a0813020e6e5557d8957c51eaa0d9740b541d.zip
chromium_src-106a0813020e6e5557d8957c51eaa0d9740b541d.tar.gz
chromium_src-106a0813020e6e5557d8957c51eaa0d9740b541d.tar.bz2
Make repost form warning tab-modal on Mac.
Reloading a page for the second time dismisses the warning before showing it again. CLs for other platforms forthcoming. BUG=26271 TEST=RepostFormWarningTest.TestDoubleReload Manual test: Go to http://www.cs.unc.edu/~jbs/resources/perl/perl-cgi/programs/form1-POST.html, hit Submit, then reload. The warning sheet should be tab-modal, not window-modal. Hit reload again. The warning sheet should close and immediately reopen. Review URL: http://codereview.chromium.org/969003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/form.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/test/data/form.html b/chrome/test/data/form.html
new file mode 100644
index 0000000..5e98542
--- /dev/null
+++ b/chrome/test/data/form.html
@@ -0,0 +1,8 @@
+<html>
+<head>
+</head>
+<body>
+<!-- A form leading to an empty page. The form is submitted via javascript, so
+ we don't need a submit button. -->
+<form id="form" action="/moose" method="post"></form>
+</body> \ No newline at end of file