On platforms with significant clock skew between performance.now()
and (new Date()).getTime(), tests that do not use spf.now() are
unreliable. Fix this by using spf.now() in tests.
Also, standardize on (new Date()).getTime() instead of
(+new Date()), which was only being used in tests.
On platforms with significant clock skew between
performance.now()
and(new Date()).getTime()
, tests that do not usespf.now()
are unreliable. Fix this by usingspf.now()
in tests.Also, standardize on
(new Date()).getTime()
instead of(+new Date())
, which was only being used in tests.