[Webkit-unassigned] [Bug 64580] Add support for download='filename' in anchors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 15 20:00:09 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64580





--- Comment #18 from Adam Barth <abarth at webkit.org>  2011-07-15 20:00:09 PST ---
(From update of attachment 101085)
View in context: https://bugs.webkit.org/attachment.cgi?id=101085&action=review

> Source/WebCore/loader/FrameLoader.cpp:1237
> +    String referrer = request.httpReferrer();
> +    if (referrer.isEmpty())
> +        referrer = m_outgoingReferrer;
> +    if (SecurityOrigin::shouldHideReferrer(request.url(), referrer) || referrerPolicy == NoReferrer)
> +        referrer = String();

Is this code duplicated from somewhere else in FrameLoader?  It would be nice not to duplicate.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list