| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index 772b48e6dbface86415d6e636a7f3efa6acd07db..341dedc93c5c75bf6e9b4b2e244809344d5e08e2 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -1397,6 +1397,11 @@ WebContentSecurityPolicy CSPDirectiveList::ExposeForNavigationalChecks() const {
|
| directive->ExposeForNavigationalChecks()});
|
| }
|
| }
|
| + if (upgrade_insecure_requests_) {
|
| + directives.push_back(WebContentSecurityPolicyDirective{
|
| + blink::WebString("upgrade-insecure-requests"),
|
| + WebContentSecurityPolicySourceList()});
|
| + }
|
| policy.directives = directives;
|
| policy.report_endpoints = ReportEndpoints();
|
| policy.header = Header();
|
|
|