| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| index a6c88d5bd97e82f7219176387272344526ee9db9..5bfdcc44afc45394e4ebcb605818d1d6e96b3d02 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| @@ -228,7 +228,8 @@ void ServiceWorkerContainer::registerServiceWorkerImpl(
|
|
|
| RefPtr<SecurityOrigin> documentOrigin = executionContext->getSecurityOrigin();
|
| String errorMessage;
|
| - // Restrict to secure origins: https://w3c.github.io/webappsec/specs/powerfulfeatures/#settings-privileged
|
| + // Restrict to secure origins:
|
| + // https://w3c.github.io/webappsec/specs/powerfulfeatures/#settings-privileged
|
| if (!executionContext->isSecureContext(errorMessage)) {
|
| callbacks->onError(WebServiceWorkerError(
|
| WebServiceWorkerError::ErrorTypeSecurity, errorMessage));
|
|
|