CSP: Update violation report 'Content-Type' header
[WebKit-https.git] / Source / WebCore / html / parser / XSSAuditorDelegate.cpp
index bcdf882..edfcddc 100644 (file)
@@ -108,7 +108,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo)
         frameLoader.client().didDetectXSS(m_document.url(), xssInfo.m_didBlockEntirePage);
 
         if (!m_reportURL.isEmpty())
-            PingLoader::sendViolationReport(*m_document.frame(), m_reportURL, generateViolationReport(xssInfo));
+            PingLoader::sendViolationReport(*m_document.frame(), m_reportURL, generateViolationReport(xssInfo), ViolationReportType::XSSAuditor);
     }
 
     if (xssInfo.m_didBlockEntirePage)