Title: [210278] branches/safari-602-branch/LayoutTests

Diff

Modified: branches/safari-602-branch/LayoutTests/ChangeLog (210277 => 210278)


--- branches/safari-602-branch/LayoutTests/ChangeLog	2017-01-04 19:12:47 UTC (rev 210277)
+++ branches/safari-602-branch/LayoutTests/ChangeLog	2017-01-04 19:14:58 UTC (rev 210278)
@@ -1,3 +1,23 @@
+2017-01-04  Ryan Haddad  <[email protected]>
+
+        Merge r209471.
+
+    2016-12-07  Geoffrey Garen  <[email protected]>
+
+            Fixed a test failure seen in web-timing-minimal-performance-now.html
+            https://bugs.webkit.org/show_bug.cgi?id=165542
+
+            Reviewed by Beth Dakin.
+
+            This test was always slightly wrong, but it is much more likely to fail
+            as of <https://trac.webkit.org/changeset/209462>.
+
+            * fast/dom/Window/web-timing-minimal-performance-now.html: < is not a
+            correct test for monotonicity. < tests for stricly increasing. <= is a
+            correct test for monotonicity. All computer clocks have some granularity,
+            so computer clocks are monotonic but not strictly increasing: you can
+            sample the clock twice in the same tick.
+
 2017-01-03  Babak Shafiei  <[email protected]>
 
         Merge r210112.

Modified: branches/safari-602-branch/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.html (210277 => 210278)


--- branches/safari-602-branch/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.html	2017-01-04 19:12:47 UTC (rev 210277)
+++ branches/safari-602-branch/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.html	2017-01-04 19:14:58 UTC (rev 210278)
@@ -10,7 +10,7 @@
 
 function checkTimestamp(previousTimestamp) { 
     currentTimestamp = performance.now();
-    isMonotonicClock = previousTimestamp < currentTimestamp;
+    isMonotonicClock = previousTimestamp <= currentTimestamp;
     if (isMonotonicClock)
         setTimeout('checkTimestamp(currentTimestamp)', 0);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to