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

Unified Diff: content/child/service_worker/service_worker_network_provider.cc

Issue 2940563002: Fix SW tests with servicification (Closed)
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/service_worker/service_worker_network_provider.cc
diff --git a/content/child/service_worker/service_worker_network_provider.cc b/content/child/service_worker/service_worker_network_provider.cc
index 5521e4423465f67ca5160da204af02efa86d94af..364d0dcbfe4fb69e144529eddb14048c91f29250 100644
--- a/content/child/service_worker/service_worker_network_provider.cc
+++ b/content/child/service_worker/service_worker_network_provider.cc
@@ -229,6 +229,11 @@ void ServiceWorkerNetworkProvider::SetServiceWorkerVersionId(
}
bool ServiceWorkerNetworkProvider::IsControlledByServiceWorker() const {
+ if (ServiceWorkerUtils::IsServicificationEnabled()) {
+ // Interception for subresource loading is not working (yet)
+ // when servicification is enabled.
+ return false;
+ }
return context() && context()->controller();
}
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698