summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_url_request_job_unittest.cc
diff options
context:
space:
mode:
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 21:54:26 +0000
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 21:54:26 +0000
commit4f61e0e76ac6a0fb034cfd0973d06e5216ada7fc (patch)
treea147b9873e5624ddf99e9f71ec595abad9ce4812 /webkit/fileapi/file_system_url_request_job_unittest.cc
parent8d5ddd0a8fa11345e3894e5d58f6fdf395d76fef (diff)
downloadchromium_src-4f61e0e76ac6a0fb034cfd0973d06e5216ada7fc.zip
chromium_src-4f61e0e76ac6a0fb034cfd0973d06e5216ada7fc.tar.gz
chromium_src-4f61e0e76ac6a0fb034cfd0973d06e5216ada7fc.tar.bz2
Several bits of cleanup in FileSystem*URLRequestJob:
- Remove startup_error_ member and delayed error reporting; URLRequestJob properly enqueues NotifyDone calls so that they complete after Start() runs. - Remove origin_url_ members, replace with locals. - Re-organize .h file to call out FilterContext method. Review URL: http://codereview.chromium.org/6458011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_url_request_job_unittest.cc')
-rw-r--r--webkit/fileapi/file_system_url_request_job_unittest.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_url_request_job_unittest.cc b/webkit/fileapi/file_system_url_request_job_unittest.cc
index 3e76338..c7db1f9 100644
--- a/webkit/fileapi/file_system_url_request_job_unittest.cc
+++ b/webkit/fileapi/file_system_url_request_job_unittest.cc
@@ -220,7 +220,6 @@ TEST_F(FileSystemURLRequestJobTest, FileTestMultipleRangesNotSupported) {
headers.SetHeader(net::HttpRequestHeaders::kRange,
"bytes=0-5,10-200,200-300");
TestRequestWithHeaders(CreateFileSystemURL("file1.dat"), &headers);
- ASSERT_FALSE(request_->is_pending());
EXPECT_TRUE(delegate_->request_failed());
EXPECT_EQ(net::ERR_REQUEST_RANGE_NOT_SATISFIABLE,
request_->status().os_error());