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

Unified Diff: Source/web/AssociatedURLLoader.cpp

Issue 570563003: Implement CSP check for manifest fetching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
Index: Source/web/AssociatedURLLoader.cpp
diff --git a/Source/web/AssociatedURLLoader.cpp b/Source/web/AssociatedURLLoader.cpp
index 739dea71f0024cc4a419b1e2201220197f5f9a1b..e3ea52051f2831529c0622ad10c3a625cbce9182 100644
--- a/Source/web/AssociatedURLLoader.cpp
+++ b/Source/web/AssociatedURLLoader.cpp
@@ -322,6 +322,7 @@ void AssociatedURLLoader::loadAsynchronously(const WebURLRequest& request, WebUR
bool allowLoad = true;
WebURLRequest newRequest(request);
+
mlamouri (slow - plz ping) 2014/09/15 15:48:44 nit: empty line edit.
if (m_options.untrustedHTTP) {
WebString method = newRequest.httpMethod();
allowLoad = isValidHTTPToken(method) && FetchUtils::isUsefulMethod(method);
« Source/core/frame/csp/CSPDirectiveList.cpp ('K') | « Source/core/frame/csp/ContentSecurityPolicy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698