REGRESSION: performance-api/performance-observer-entry-sort.html is flaky
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 May 2018 22:06:39 +0000 (22:06 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 May 2018 22:06:39 +0000 (22:06 +0000)
​https://bugs.webkit.org/show_bug.cgi?id=185385

Reviewed by Saam Barati.

Partially revert r232033 to see if the flaky failure comes back.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/performance-api/performance-observer-entry-sort.html

index 07e030c..a4785e6 100644 (file)
@@ -1,3 +1,14 @@
+2018-05-24  Ryosuke Niwa  <rniwa@webkit.org>
+
+        REGRESSION: performance-api/performance-observer-entry-sort.html is flaky
+        ​https://bugs.webkit.org/show_bug.cgi?id=185385
+
+        Reviewed by Saam Barati.
+
+        Partially revert r232033 to see if the flaky failure comes back.
+
+        * performance-api/performance-observer-entry-sort.html:
+
 2018-05-24  Chris Dumez  <cdumez@apple.com>
 
         [iOS WK2] Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https.html is a flaky failure
index 0a9a639..77549c4 100644 (file)
@@ -15,12 +15,9 @@ function assert(assertion)
 }
 
 function wait() {
-    let start = performance.now();
-    let now;
-    do {
-        now = performance.now();
-    } while (start === now);
-    assert(() => now > start);
+    let now = performance.now();
+    while (now === performance.now())
+        continue;
 }
 
 let observer = new PerformanceObserver((list) => {