Page MenuHomePhabricator

wikitech has wrong referrer policy
Closed, DuplicatePublic

Description

I needed to figure out why this JS was failing to load so checked JS console, and incidentally found this:

Failed to set referrer policy: The value 'origin-when-crossorigin' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'same-origin', 'origin', 'strict-origin', 'origin-when-cross-origin', 'strict-origin-when-cross-origin' or 'unsafe-url'. Defaulting to 'no-referrer'.

MDN also says correct value is origin-when-cross-origin.

Event Timeline

revi created this task.Jul 1 2018, 12:42 PM
revi moved this task from Incoming to Radar on the User-revi board.

Hmm, seems macOS 10.13.5 Safari version 11.1.1(13605.2.8) skips the correct value and recognizes incorrect one.... meh.

The correct value is also there.

Which points to T180921: Referrer policy for browsers which only support the old spec as the source of the incorrect value. (I mention just for the bi-directional linking :)

RP88 added a subscriber: RP88.Jul 31 2018, 2:32 PM
Restricted Application changed the subtype of this task from "Deadline" to "Task". · View Herald TranscriptAug 31 2018, 12:07 AM