Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only overwrite referrer if this is an unload call
We check the referrer many times for browsers that don't support navtiming. For this to work, we need the referrer to be correct until after we've read the start time correctly. To make sure this works, we set the referrer only in the unload handler.
- Loading branch information