The referrer should actually exist and be equal to the worker URL (after redirects). This didn't work before the previous commit.