Index: third_party/WebKit/Source/platform/network/ResourceRequest.cpp |
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp |
index 045c964981ffa2d5eb36072e3fc2296183b65a27..23a3ba072ff37d6b99b7a5a44f871cef7eef87ae 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp |
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp |
@@ -453,10 +453,7 @@ void ResourceRequest::initialize(const KURL& url) |
m_requestContext = WebURLRequest::RequestContextUnspecified; |
m_frameType = WebURLRequest::FrameTypeNone; |
m_fetchRequestMode = WebURLRequest::FetchRequestModeNoCORS; |
- // Contrary to the Fetch spec, we default to same-origin mode here, and deal |
- // with CORS modes in updateRequestForAccessControl if we're called in a |
- // context which requires it. |
- m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeSameOrigin; |
+ m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeInclude; |
m_fetchRedirectMode = WebURLRequest::FetchRedirectModeFollow; |
m_referrerPolicy = ReferrerPolicyDefault; |
m_loFiState = WebURLRequest::LoFiUnspecified; |