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

Unified Diff: content/browser/service_worker/service_worker_write_to_cache_job.cc

Issue 660973002: [ServiceWorker] Handle ServiceWorker script fetch error code correctly. [chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: content/browser/service_worker/service_worker_write_to_cache_job.cc
diff --git a/content/browser/service_worker/service_worker_write_to_cache_job.cc b/content/browser/service_worker/service_worker_write_to_cache_job.cc
index d9f996261a38b4a88f1a556fe74c94505f3ae966..fea86a4b91692010ee6b80cb46e441c2e5b67203 100644
--- a/content/browser/service_worker/service_worker_write_to_cache_job.cc
+++ b/content/browser/service_worker/service_worker_write_to_cache_job.cc
@@ -128,8 +128,7 @@ bool ServiceWorkerWriteToCacheJob::ReadRawData(
// No more data to process, the job is complete.
io_buffer_ = NULL;
- version_->script_cache_map()->NotifyFinishedCaching(
- url_, net::URLRequestStatus());
+ version_->script_cache_map()->NotifyFinishedCaching(url_, status);
did_notify_finished_ = true;
return status.is_success();
}

Powered by Google App Engine
This is Rietveld 408576698