The navigation document.referrer test currently only tests whether there is a referrer at all.
Several browsers restricted the allowed values (in a different way and with different exceptions), might make sense to test for some of them, e.g. whether 'unsafe-url' is allowed for subresources or window.open.
The navigation document.referrer test currently only tests whether there is a referrer at all. Several browsers restricted the allowed values (in a different way and with different exceptions), might make sense to test for some of them, e.g. whether 'unsafe-url' is allowed for subresources or window.open.