| Index: Source/core/page/ContentSecurityPolicy.cpp
|
| diff --git a/Source/core/page/ContentSecurityPolicy.cpp b/Source/core/page/ContentSecurityPolicy.cpp
|
| index a5095684ce8c246238af071cfb660ec05d3e04ce..0e881f4a2e077cac83c93f460f0f9af7b04f87f3 100644
|
| --- a/Source/core/page/ContentSecurityPolicy.cpp
|
| +++ b/Source/core/page/ContentSecurityPolicy.cpp
|
| @@ -1458,10 +1458,10 @@ void ContentSecurityPolicy::didReceiveHeader(const String& header, HeaderType ty
|
| {
|
| if (m_scriptExecutionContext->isDocument()) {
|
| Document* document = toDocument(m_scriptExecutionContext);
|
| - UseCounter::observe(document, getUseCounterType(type));
|
| -
|
| if (type == PrefixedReport || type == PrefixedEnforce)
|
| - PageConsole::reportDeprecation(document, PageConsole::PrefixedContentSecurityPolicyHeader);
|
| + UseCounter::measureDeprecatedFeature(document, getUseCounterType(type));
|
| + else
|
| + UseCounter::observe(document, getUseCounterType(type));
|
| }
|
|
|
| // RFC2616, section 4.2 specifies that headers appearing multiple times can
|
|
|