summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 01:33:26 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 01:33:26 +0000
commitd73fafb5445e428375e1759a8cacb6660b7f859a (patch)
treeb1971077821c9555b6affd00f6539997efe33a19 /webkit
parentbc7f860169badb3dd7d4aa62b8b2a950d4dcc200 (diff)
downloadchromium_src-d73fafb5445e428375e1759a8cacb6660b7f859a.zip
chromium_src-d73fafb5445e428375e1759a8cacb6660b7f859a.tar.gz
chromium_src-d73fafb5445e428375e1759a8cacb6660b7f859a.tar.bz2
Set os_error to net::ERR_ABORTED instead of 0 or net::ERR_FAILED when
we set the status of a URLRequestStatus to URLRequestStatus::CANCELED. R=eroman BUG=24674 TEST=none Review URL: http://codereview.chromium.org/269064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/media/buffered_data_source_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/media/buffered_data_source_unittest.cc b/webkit/glue/media/buffered_data_source_unittest.cc
index 53915f1..0b5099d 100644
--- a/webkit/glue/media/buffered_data_source_unittest.cc
+++ b/webkit/glue/media/buffered_data_source_unittest.cc
@@ -48,6 +48,7 @@ namespace webkit_glue {
ACTION_P(RequestCanceled, loader) {
URLRequestStatus status;
status.set_status(URLRequestStatus::CANCELED);
+ status.set_os_error(net::ERR_ABORTED);
loader->OnCompletedRequest(status, "");
}