summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 02:51:09 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 02:51:09 +0000
commit67dba5728632d0befbe729ca0d752c0cab7e274e (patch)
tree59c4f9f56ea3c94b4cb9675067d7a2b21980e75a /chrome/test
parent5268c8f07e8a9a250d7135caae49a35a31058a4f (diff)
downloadchromium_src-67dba5728632d0befbe729ca0d752c0cab7e274e.zip
chromium_src-67dba5728632d0befbe729ca0d752c0cab7e274e.tar.gz
chromium_src-67dba5728632d0befbe729ca0d752c0cab7e274e.tar.bz2
Makes instant reload page when enter is pressed if last url loaded was
a URL that resulted in failing the provisional load. This typically indicates the user initiated a download. Since instant blocks downloads, we need to reload on enter. BUG=74556 TEST=see bug, covered by browser test too. R=jcivelli@chromium.org Review URL: http://codereview.chromium.org/6676091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/instant/download.zip1
-rw-r--r--chrome/test/data/instant/download.zip.mock-http-headers5
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/data/instant/download.zip b/chrome/test/data/instant/download.zip
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/chrome/test/data/instant/download.zip
@@ -0,0 +1 @@
+
diff --git a/chrome/test/data/instant/download.zip.mock-http-headers b/chrome/test/data/instant/download.zip.mock-http-headers
new file mode 100644
index 0000000..ef07401
--- /dev/null
+++ b/chrome/test/data/instant/download.zip.mock-http-headers
@@ -0,0 +1,5 @@
+HTTP/1.1 200 OK
+Content-Type: application/zip
+Content-Length: 0
+Date: Mon, 13 Nov 2006 21:38:09 GMT
+Expires: Tue, 14 Nov 2006 19:23:58 GMT