On 2016/01/04 16:54, Anne van Kesteren wrote:
> There should be, per the specification discussion. E.g.,
> 
>   function isSupported(token) {
>     var ele = document.createElement("a")
>     ele.referrerPolicy = token
>     return ele.referrerPolicy === token
>   }

It didn't work because |ele.referrerPolicy = token| created the
"referrerPolicy" property on ele. This function will return true even if
the browser does not support referrerPolicy.

-- 
vyv03...@nifty.ne.jp
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to