Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Unified Diff: Source/core/loader/cache/ResourceFetcher.cpp

Issue 20890003: Limit console messages' automatic collection of parser state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline "fast/frames/sandboxed-iframe-autofocus-denied.html" Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/MixedContentChecker.cpp ('k') | Source/core/page/ConsoleTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/ResourceFetcher.cpp
diff --git a/Source/core/loader/cache/ResourceFetcher.cpp b/Source/core/loader/cache/ResourceFetcher.cpp
index eb7a862f2d12b7b987d6c40c3cef71e7c4fe133e..23233436923167c2d66a65f0f2296e4392a775ce 100644
--- a/Source/core/loader/cache/ResourceFetcher.cpp
+++ b/Source/core/loader/cache/ResourceFetcher.cpp
@@ -866,7 +866,7 @@ void ResourceFetcher::printAccessDeniedMessage(const KURL& url) const
else
message = "Unsafe attempt to load URL " + url.elidedString() + " from frame with URL " + m_document->url().elidedString() + ". Domains, protocols and ports must match.\n";
- frame()->document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message);
+ frame()->document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message, 0, ForceParserStateCollection);
}
void ResourceFetcher::setAutoLoadImages(bool enable)
« no previous file with comments | « Source/core/loader/MixedContentChecker.cpp ('k') | Source/core/page/ConsoleTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698