| Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| index 2bef27e76e580e7c90839ac791d3a713817daad5..600a24c2d1803004ba136912700a1be0570787e3 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| @@ -1118,7 +1118,7 @@ static void gatherSecurityPolicyViolationEventData(
|
| }
|
| }
|
| init.setReferrer(document->referrer());
|
| - init.setViolatedDirective(directiveText);
|
| + init.setViolatedDirective(effectiveDirective);
|
| init.setEffectiveDirective(effectiveDirective);
|
| init.setOriginalPolicy(header);
|
| init.setDisposition(headerType == ContentSecurityPolicyHeaderTypeEnforce
|
|
|