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 ad56cdd5c6f0e44788ee116a94d38a3dd60da4c9..ce04692613ba009040276a5bde2dfb20a00e9e2a 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc |
@@ -428,10 +428,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 */ |
provider_host, base::Bind(&ServiceWorkerDispatcherHost::UpdateComplete, |
this, thread_id, provider_id, request_id)); |
} |