| Index: third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| index 4a453c27b96e54e175a8717cff36d2b07dbf0529..5e5790dd01f65d0b6c5a404ccfab70bdc2b6117b 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| @@ -104,6 +104,8 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo)
|
| {
|
| ASSERT(isMainThread());
|
|
|
| + UseCounter::count(m_document, xssInfo.m_didBlockEntirePage ? UseCounter::XSSAuditorBlockedEntirePage : UseCounter::XSSAuditorBlockedScript);
|
| +
|
| m_document->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, xssInfo.buildConsoleError()));
|
|
|
| FrameLoader& frameLoader = m_document->frame()->loader();
|
|
|