Index: Source/core/html/parser/XSSAuditorDelegate.cpp |
diff --git a/Source/core/html/parser/XSSAuditorDelegate.cpp b/Source/core/html/parser/XSSAuditorDelegate.cpp |
index f75adb544014368b989f9cf419ad0d22b3c274ab..9a0ecdff8baf4446f7dd4761355282fc3b63f043 100644 |
--- a/Source/core/html/parser/XSSAuditorDelegate.cpp |
+++ b/Source/core/html/parser/XSSAuditorDelegate.cpp |
@@ -93,7 +93,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo) |
{ |
ASSERT(isMainThread()); |
- m_document->addConsoleMessage(JSMessageSource, ErrorMessageLevel, buildConsoleError(xssInfo, m_document->url().string())); |
+ m_document->addConsoleMessage(JSMessageSource, ErrorMessageLevel, buildConsoleError(xssInfo, m_document->url().string()), 0, ForceParserStateCollection); |
// stopAllLoaders can detach the Frame, so protect it. |
RefPtr<Frame> protect(m_document->frame()); |