diff --git a/html/dom/documents/resource-metadata-management/document-lastModified-01.html b/html/dom/documents/resource-metadata-management/document-lastModified-01.html
index ea3ba66692c99c..a3d5990ea4969b 100644
--- a/html/dom/documents/resource-metadata-management/document-lastModified-01.html
+++ b/html/dom/documents/resource-metadata-management/document-lastModified-01.html
@@ -10,7 +10,7 @@
var expected = Math.round(d / 1000);
test(function() {
- assert_approx_equals(initial_modified, expected, 1.5);
+ assert_approx_equals(initial_modified, expected, 2.5);
}, "Date returned by lastModified is current at page load");
var pattern = /[0-9]{2}\/[0-9]{2}\/[0-9]{4} ([0-9]{2}):([0-9]{2}):([0-9]{2})/
@@ -39,8 +39,9 @@
t.step(function() {
var new_modified = Date.parse(document.lastModified) / 1000;
var new_expected = Math.round(new Date() / 1000);
- assert_approx_equals(new_modified, new_expected, 1.5, "(initial value was " + initial_modified + ")");
+ assert_approx_equals(new_modified, new_expected, 2.5,
+ "(initial value was " + initial_modified + ")");
t.done();
});
- }, 3000);
+ }, 4000);