| Index: Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/Source/core/frame/csp/CSPDirectiveList.cpp b/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index 6ff0e090f14ddd5949f55846a98e51f57e298fad..bac990326d84ac7104b9d121391ae5a73ee46f5f 100644
|
| --- a/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -624,6 +624,8 @@ void CSPDirectiveList::parseReferrer(const String& name, const String& value)
|
| m_referrerPolicy = ReferrerPolicyDefault;
|
| } else if (equalIgnoringCase("origin", begin, position - begin)) {
|
| m_referrerPolicy = ReferrerPolicyOrigin;
|
| + } else if (equalIgnoringCase("origin-when-crossorigin", begin, position - begin)) {
|
| + m_referrerPolicy = ReferrerPolicyOriginWhenCrossOrigin;
|
| } else {
|
| m_referrerPolicy = ReferrerPolicyNever;
|
| m_policy->reportInvalidReferrer(value);
|
|
|