[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 13:25:58 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit c455a03e16718a0a4f0b602de36d7ef328fe324c
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 15 05:03:23 2010 +0000

    2010-09-14  Adam Barth  <abarth at webkit.org>
    
            Attempt to fix test failure on Qt and Gtk.  It's tricky to write a test
            for an API that supposed to report the current date and time without a
            timezone.  This patch increases the allowably time window to a day +
            one hour, which should be enough to account for any timezone issues.
    
            * http/tests/misc/no-last-modified.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 5723ff0..2165f03 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-14  Adam Barth  <abarth at webkit.org>
+
+        Attempt to fix test failure on Qt and Gtk.  It's tricky to write a test
+        for an API that supposed to report the current date and time without a
+        timezone.  This patch increases the allowably time window to a day +
+        one hour, which should be enough to account for any timezone issues.
+
+        * http/tests/misc/no-last-modified.html:
+
 2010-09-14  Sheriff Bot  <webkit.review.bot at gmail.com>
 
         Unreviewed, rolling out r67503.
diff --git a/LayoutTests/http/tests/misc/no-last-modified.html b/LayoutTests/http/tests/misc/no-last-modified.html
index 7e4d85c..1706565 100644
--- a/LayoutTests/http/tests/misc/no-last-modified.html
+++ b/LayoutTests/http/tests/misc/no-last-modified.html
@@ -11,7 +11,7 @@ test('');
 window.onload = function() {
     var lastModified = Date.parse(frames[0].document.body.textContent);
     var now = new Date();
-    if (lastModified > now - 60*1000)
+    if (lastModified > now - (24+1)*60*60*1000)
         alert('PASS');
     else
         alert('FAIL');

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list