Index: content/browser/service_worker/service_worker_dispatcher_host.cc |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc |
index c192d96e37110d5e35316776283d4de9afe29874..a042183870385fae365aa66e76d1a92d2de05e67 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc |
@@ -437,10 +437,8 @@ void ServiceWorkerDispatcherHost::OnUpdateServiceWorker(int thread_id, |
return; |
} |
- // The spec says, "update() pings the server for an updated version of this |
- // script without consulting caches", so set |force_bypass_cache| to true. |
GetContext()->UpdateServiceWorker( |
- registration, true /* force_bypass_cache */, |
+ registration, false /* force_bypass_cache */, |
false /* skip_script_comparison */, provider_host, |
base::Bind(&ServiceWorkerDispatcherHost::UpdateComplete, this, thread_id, |
provider_id, request_id)); |