Re: [referrer] Providing safer policy states

On Fri, Apr 8, 2016 at 12:06 AM, Emily Stark (Dunn) <estark@google.com> wrote:
> I was thinking maybe we could deprecate the latter (continue to support it
> for a while, maybe with a console warning, and eventually drop support).
> When parsing a referrer policy, we could first check if it matches one of
> the enum values, and if not, then parse it as JSON. If it neither matches an
> enum value nor parses as JSON, then we just ignore it.

That doesn't sound great to me. The new syntax is more complicated and
this is a feature we just introduced. If we start deprecating it now
developers would likely get upset and lose some trust in the platform.


-- 
https://annevankesteren.nl/

Received on Friday, 8 April 2016 02:26:16 UTC