mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 874435 - Assume lower file system time precision. r=froydnj
This commit is contained in:
parent
8c3460caf3
commit
153c7c8f28
@ -649,8 +649,10 @@ function test_info() {
|
||||
let stop = new Date();
|
||||
|
||||
// We round down/up by 1s as file system precision is lower than Date precision
|
||||
let startMs = start.getTime() - 1000;
|
||||
let stopMs = stop.getTime() + 1000;
|
||||
// (no clear specifications about that, but it seems that this can be a little
|
||||
// over 1 second under ext3 and 2 seconds under FAT)
|
||||
let startMs = start.getTime() - 2500;
|
||||
let stopMs = stop.getTime() + 2500;
|
||||
|
||||
(function() {
|
||||
let birth;
|
||||
|
Loading…
Reference in New Issue
Block a user