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

Unified Diff: Source/core/loader/FrameFetchContext.cpp

Issue 357023002: Remove setting an empty origin header in FrameFetchContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/core/loader/FrameFetchContext.cpp
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
index ec0690a739da243bf55f2f2bdf715eadeab179a5..55d09e63a048348cb82c7fe6608c7acc4d93665c 100644
--- a/Source/core/loader/FrameFetchContext.cpp
+++ b/Source/core/loader/FrameFetchContext.cpp
@@ -83,9 +83,6 @@ void FrameFetchContext::addAdditionalRequestHeaders(Document* document, Resource
return;
m_frame->loader().applyUserAgent(request);
-
- // Default to sending an empty Origin header if one hasn't been set yet.
- request.addHTTPOriginIfNeeded(nullAtom);
}
void FrameFetchContext::setFirstPartyForCookies(ResourceRequest& request)
« 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