I think our implementation still has the problem that specifying
referrerpolicy="none-when-downgrade" on an element has no effect. This
is because the ReferrerPolicy enum uses the same value for RP_Unset,
RP_Default and RP_No_Referrer_When_Downgrade.

In general, that enum is a mess :(

Would be good to get our implementation into a better state before we ship.

/ Jonas

On Wed, Dec 2, 2015 at 1:58 AM, Franziskus Kiefer <fkie...@mozilla.com> wrote:
> As of Firefox 45 we intend to turn referrerpolicy attribute on by default
> on all platforms. It has been developed behind the
> network.http.enablePerElementReferrer preference. Other UAs shipping this
> or intending to ship it are Chrome and Opera [1].
>
> The referrerpolicy attribute as specified in the referrer policy spec
> allows per element referrer policies for <a>, <area>, <img>, and <iframe>
> tags. Referrer policies allow to specify
> which referer [sic] header is sent when performing the request. The
> referrerpolicy attribute allows
> developers to override the document's referrer policy (set in meta tag or
> via CSP) on a per element basis.
>
> This feature was previously discussed in this "intent to implement" thread:
> https://groups.google.com/d/topic/mozilla.dev.platform/g-YY5rWFCLM/discussion.
>
>
> *Bug to turn on by default*:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1223838
> *Link to standard*: https://w3c.github.io/webappsec-referrer-policy/
> [1] https://www.chromestatus.com/feature/5743723954569216
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to