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

Unified Diff: Source/core/fetch/CrossOriginAccessControl.h

Issue 149643003: Improve handling of CORS redirects for some resource loads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Track source origin via ResourceLoaderOptions.securityOrigin Created 6 years, 11 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/core/fetch/CrossOriginAccessControl.h
diff --git a/Source/core/fetch/CrossOriginAccessControl.h b/Source/core/fetch/CrossOriginAccessControl.h
index 450c342253f38f973a310707154d51168955f776..2f3df11cb0e1a2b61b374d79d2ce0a08da6b0bae 100644
--- a/Source/core/fetch/CrossOriginAccessControl.h
+++ b/Source/core/fetch/CrossOriginAccessControl.h
@@ -56,6 +56,7 @@ ResourceRequest createAccessControlPreflightRequest(const ResourceRequest&, Secu
bool passesAccessControlCheck(const ResourceResponse&, StoredCredentials, SecurityOrigin*, String& errorDescription);
bool passesPreflightStatusCheck(const ResourceResponse&, String& errorDescription);
void parseAccessControlExposeHeadersAllowList(const String& headerValue, HTTPHeaderSet&);
+bool checkCrossOriginAccessRedirectionUrl(const KURL&, String& errorDescription);
abarth-chromium 2014/01/31 23:42:40 Url -> URL Rather than using the verb "check", it
sof 2014/02/04 22:01:50 CrossOriginAccessControl::isLegalRedirectLocation(
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698