From 67dba5728632d0befbe729ca0d752c0cab7e274e Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Wed, 23 Mar 2011 02:51:09 +0000 Subject: 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 --- chrome/test/data/instant/download.zip | 1 + chrome/test/data/instant/download.zip.mock-http-headers | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 chrome/test/data/instant/download.zip create mode 100644 chrome/test/data/instant/download.zip.mock-http-headers (limited to 'chrome/test') 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 -- cgit v1.1