Index: Source/core/loader/PingLoader.cpp |
diff --git a/Source/core/loader/PingLoader.cpp b/Source/core/loader/PingLoader.cpp |
index bea722bf6faea6434e5a0cdcfc8d8956e07dafe3..e5d2aa30b785d291003fe87ce7d8011e89c23952 100644 |
--- a/Source/core/loader/PingLoader.cpp |
+++ b/Source/core/loader/PingLoader.cpp |
@@ -146,6 +146,7 @@ PingLoader::PingLoader(LocalFrame* frame, ResourceRequest& request, const FetchI |
ASSERT(m_loader); |
blink::WrappedResourceRequest wrappedRequest(request); |
wrappedRequest.setAllowStoredCredentials(credentialsAllowed == AllowStoredCredentials); |
+ wrappedRequest.setFetchCredentialsMode(credentialsAllowed == AllowStoredCredentials ? WebURLRequest::FetchCredentialsModeInclude : WebURLRequest::FetchCredentialsModeSameOrigin); |
yhirano
2014/10/07 08:03:15
Can you tell me why same-origin is indicated when
|
m_loader->loadAsynchronously(wrappedRequest, this); |
// If the server never responds, FrameLoader won't be able to cancel this load and |