| 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 a3a696cf1af09abcbfff01c3a230e26261ac2e9b..a00a9bc92bebd99f73b60839421a86669737c9f2 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -1395,6 +1395,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();
|
|
|