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

Unified Diff: Source/WebCore/loader/CrossOriginAccessControl.cpp

Issue 7669010: Merge 93188 - REGRESSION (r89086): All worker xhr requests trigger preflight requests. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/CrossOriginAccessControl.cpp
===================================================================
--- Source/WebCore/loader/CrossOriginAccessControl.cpp (revision 93190)
+++ Source/WebCore/loader/CrossOriginAccessControl.cpp (working copy)
@@ -46,7 +46,8 @@
if (equalIgnoringCase(name, "accept")
|| equalIgnoringCase(name, "accept-language")
|| equalIgnoringCase(name, "content-language")
- || equalIgnoringCase(name, "origin"))
+ || equalIgnoringCase(name, "origin")
+ || equalIgnoringCase(name, "referer"))
return true;
// Preflight is required for MIME types that can not be sent via form submission.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698