Bug 874435 - Assume lower file system time precision. r=froydnj

This commit is contained in:
David Rajchenbach-Teller 2013-05-30 11:25:48 -04:00
parent 8c3460caf3
commit 153c7c8f28

View File

@ -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;