Index: Source/WebCore/html/HTMLAnchorElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLAnchorElement.cpp (revision 141117) |
+++ Source/WebCore/html/HTMLAnchorElement.cpp (working copy) |
@@ -509,7 +509,6 @@ |
if (hasAttribute(downloadAttr)) { |
ResourceRequest request(kurl); |
- // FIXME: Why are we not calling addExtraFieldsToMainResourceRequest() if this check fails? It sets many important header fields. |
if (!hasRel(RelationNoReferrer)) { |
String referrer = SecurityPolicy::generateReferrerHeader(document()->referrerPolicy(), kurl, frame->loader()->outgoingReferrer()); |
if (!referrer.isEmpty()) |