Please sign in to comment.
Click might happen up to 15ms before unload
When checking if the current URL is the same as the clicked URL of the previous page, we should allow some grace period for the time between click and unload. 15ms seems appropriate since it's the least count for the JS timer on Windows so we're unlikely to get something smaller than that. This solves an issue with going from HTTP to HTTPS since referrers are hidden for privacy reasons.
- Loading branch information...