| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index 2c86ff3df9de1c4580d1f142370ae88ba8e80c1e..4bc76128473518b9408b7a0ed2d90ae785f198d0 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -220,6 +220,7 @@ void ServiceWorkerGlobalScope::importScripts(const Vector<String>& urls,
|
| // Bust the MemoryCache to ensure script requests reach the browser-side
|
| // and get added to and retrieved from the ServiceWorker's script cache.
|
| // FIXME: Revisit in light of the solution to crbug/388375.
|
| + // TODO(yuryu): Update the method to respect cache policy.
|
| for (Vector<String>::const_iterator it = urls.begin(); it != urls.end(); ++it)
|
| GetExecutionContext()->RemoveURLFromMemoryCache(CompleteURL(*it));
|
| WorkerGlobalScope::importScripts(urls, exception_state);
|
|
|