Index: content/browser/service_worker/service_worker_registration.cc |
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc |
index d7fb0b1028c29c10de814da03e1336dfe120bc56..bad9920756875f7466faaebe8ad5b0867f13f9a9 100644 |
--- a/content/browser/service_worker/service_worker_registration.cc |
+++ b/content/browser/service_worker/service_worker_registration.cc |
@@ -201,6 +201,8 @@ void ServiceWorkerRegistration::ClaimClients() { |
continue; |
if (host->controlling_version() == active_version()) |
continue; |
+ if (!host->IsContextSecureForServiceWorker()) |
+ continue; |
if (host->MatchRegistration() == this) |
host->ClaimedByRegistration(this); |
} |