Title: [232181] trunk/LayoutTests
Revision
232181
Author
[email protected]
Date
2018-05-24 20:21:28 -0700 (Thu, 24 May 2018)

Log Message

REGRESSION: performance-api/performance-observer-entry-sort.html is flaky
​https://bugs.webkit.org/show_bug.cgi?id=185385

Rubber-stamped by Joseph Pecoraro.

Add back some assertions in r232033 reverted in r232166.

* performance-api/performance-observer-entry-sort.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (232180 => 232181)


--- trunk/LayoutTests/ChangeLog	2018-05-25 01:58:33 UTC (rev 232180)
+++ trunk/LayoutTests/ChangeLog	2018-05-25 03:21:28 UTC (rev 232181)
@@ -1,3 +1,14 @@
+2018-05-24  Ryosuke Niwa  <[email protected]>
+
+        REGRESSION: performance-api/performance-observer-entry-sort.html is flaky
+        ​https://bugs.webkit.org/show_bug.cgi?id=185385
+
+        Rubber-stamped by Joseph Pecoraro.
+
+        Add back some assertions in r232033 reverted in r232166.
+
+        * performance-api/performance-observer-entry-sort.html:
+
 2018-05-24  David Fenton  <[email protected]>
 
         media/video-play-require-user-gesture.html and media/video-play-audio-require-user-gesture.html are flaky failures

Modified: trunk/LayoutTests/performance-api/performance-observer-entry-sort.html (232180 => 232181)


--- trunk/LayoutTests/performance-api/performance-observer-entry-sort.html	2018-05-25 01:58:33 UTC (rev 232180)
+++ trunk/LayoutTests/performance-api/performance-observer-entry-sort.html	2018-05-25 03:21:28 UTC (rev 232181)
@@ -18,6 +18,7 @@
     let now = performance.now();
     while (now === performance.now())
         continue;
+    assert(() => now < performance.now());
 }
 
 let observer = new PerformanceObserver((list) => {
@@ -84,6 +85,7 @@
 wait(); // Ensure mark2 !== mark3 startTime by making sure performance.now advances.
 const mark3Time = performance.now();
 performance.mark("mark3");
+assert(() => mark3Time >= mark2Time);
 assert(() => mark3Time > mark2Time);
 performance.measure("measure3");
 performance.measure("measure-matching-mark2-2", "mark2");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to