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

Unified Diff: Source/core/fetch/ResourceLoader.cpp

Issue 608733002: Mixed Content: Don't override a request's context during redirects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: --no-find-copies Created 6 years, 3 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 | « LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceLoader.cpp
diff --git a/Source/core/fetch/ResourceLoader.cpp b/Source/core/fetch/ResourceLoader.cpp
index 512b3b94d3abde41fda463484c88f3cc989e9958..77f3ed9510d702c9153bbce6236ee8fb8f97b138 100644
--- a/Source/core/fetch/ResourceLoader.cpp
+++ b/Source/core/fetch/ResourceLoader.cpp
@@ -298,9 +298,6 @@ void ResourceLoader::willSendRequest(blink::WebURLLoader*, blink::WebURLRequest&
ResourceRequest& request(applyOptions(passedRequest.toMutableResourceRequest()));
- // FIXME: We should have a real context for redirect requests. Currently, we don't: see WebURLLoaderImpl::Context::OnReceivedRedirect in content/.
- request.setRequestContext(blink::WebURLRequest::RequestContextInternal);
-
ASSERT(!request.isNull());
const ResourceResponse& redirectResponse(passedRedirectResponse.toResourceResponse());
ASSERT(!redirectResponse.isNull());
« no previous file with comments | « LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698