summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/data
diff options
context:
space:
mode:
authorjennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 17:45:10 +0000
committerjennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 17:45:10 +0000
commit4d3bd39327334b06c0c16437da430fc180740241 (patch)
tree260c63b490a49dedc784e4bb61cddf20b68e997d /webkit/appcache/data
parenta88aec9e5ecb14d0f0f19e28c95d65c65d5c4167 (diff)
downloadchromium_src-4d3bd39327334b06c0c16437da430fc180740241.zip
chromium_src-4d3bd39327334b06c0c16437da430fc180740241.tar.gz
chromium_src-4d3bd39327334b06c0c16437da430fc180740241.tar.bz2
Isolated bug fixes from CL 385104 to address the following:
- using references for collections - only getting request response code if request was successful - writing response info for URL fetches that do not contain any data - only bothering with reading/writing response if response code is 2xx TEST=added test and data files to verify empty file still gets response written to storage BUG=none Review URL: http://codereview.chromium.org/385141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/data')
-rw-r--r--webkit/appcache/data/appcache_unittest/empty-file-manifest3
-rw-r--r--webkit/appcache/data/appcache_unittest/empty-file-manifest.mock-http-headers2
2 files changed, 5 insertions, 0 deletions
diff --git a/webkit/appcache/data/appcache_unittest/empty-file-manifest b/webkit/appcache/data/appcache_unittest/empty-file-manifest
new file mode 100644
index 0000000..e58b0c0
--- /dev/null
+++ b/webkit/appcache/data/appcache_unittest/empty-file-manifest
@@ -0,0 +1,3 @@
+CACHE MANIFEST
+empty1
+
diff --git a/webkit/appcache/data/appcache_unittest/empty-file-manifest.mock-http-headers b/webkit/appcache/data/appcache_unittest/empty-file-manifest.mock-http-headers
new file mode 100644
index 0000000..6e904b9
--- /dev/null
+++ b/webkit/appcache/data/appcache_unittest/empty-file-manifest.mock-http-headers
@@ -0,0 +1,2 @@
+HTTP/1.1 200 OK
+Content-type: text/cache-manifest