Browse Source
The previous detection code compared time stamps based on Date.now() which are not monotonic, so the check could fail due to clock skew or adjustments. This fix changes the check to compare against performance.now() if it is supported, because it is monotonic (strictly increasing).dev
Felix Bünemann
6 years ago
committed by
Evan You
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue