Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: webkit/browser/fileapi/file_system_operation_runner_unittest.cc

Issue 23537020: Fixes FileSystemOperation::Cancel behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/browser/fileapi/file_system_operation_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/file_system_operation_runner_unittest.cc
diff --git a/webkit/browser/fileapi/file_system_operation_runner_unittest.cc b/webkit/browser/fileapi/file_system_operation_runner_unittest.cc
index 5965096a73cc955c3970ff4ec7675c7ae87b7168..1d17d9d38f4d72cab845835afdb74e51a477dc8c 100644
--- a/webkit/browser/fileapi/file_system_operation_runner_unittest.cc
+++ b/webkit/browser/fileapi/file_system_operation_runner_unittest.cc
@@ -117,8 +117,8 @@ TEST_F(FileSystemOperationRunnerTest, NotFoundErrorAndCancel) {
ASSERT_TRUE(done);
ASSERT_TRUE(cancel_done);
- ASSERT_EQ(base::PLATFORM_FILE_ERROR_ABORT, status);
- ASSERT_EQ(base::PLATFORM_FILE_OK, cancel_status);
+ ASSERT_EQ(base::PLATFORM_FILE_ERROR_NOT_FOUND, status);
+ ASSERT_EQ(base::PLATFORM_FILE_ERROR_INVALID_OPERATION, cancel_status);
}
TEST_F(FileSystemOperationRunnerTest, InvalidURLErrorAndCancel) {
« no previous file with comments | « webkit/browser/fileapi/file_system_operation_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698