Title: [233169] trunk/LayoutTests
Revision
233169
Author
cdu...@apple.com
Date
2018-06-25 13:30:11 -0700 (Mon, 25 Jun 2018)

Log Message

performance-api/performance-observer-no-document-leak.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=186938
<rdar://problem/41379336>

Unreviewed, move the call to gc() inside the setInterval() so we keep
trying to gc() until the frame / document are destroyed (instead of
only doing a single garbage collection).


* TestExpectations:
* performance-api/performance-observer-no-document-leak.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (233168 => 233169)


--- trunk/LayoutTests/ChangeLog	2018-06-25 20:16:04 UTC (rev 233168)
+++ trunk/LayoutTests/ChangeLog	2018-06-25 20:30:11 UTC (rev 233169)
@@ -1,3 +1,16 @@
+2018-06-25  Chris Dumez  <cdu...@apple.com>
+
+        performance-api/performance-observer-no-document-leak.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=186938
+        <rdar://problem/41379336>
+
+        Unreviewed, move the call to gc() inside the setInterval() so we keep
+        trying to gc() until the frame / document are destroyed (instead of
+        only doing a single garbage collection).
+
+        * TestExpectations:
+        * performance-api/performance-observer-no-document-leak.html:
+
 2018-06-25  Antoine Quint  <grao...@apple.com>
 
         REGRESSION: hardware-accelerated animation fails on inline element

Modified: trunk/LayoutTests/TestExpectations (233168 => 233169)


--- trunk/LayoutTests/TestExpectations	2018-06-25 20:16:04 UTC (rev 233168)
+++ trunk/LayoutTests/TestExpectations	2018-06-25 20:30:11 UTC (rev 233169)
@@ -2143,8 +2143,6 @@
 imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.html [ Pass Failure ]
 imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.worker.html [ Pass Failure ]
 
-webkit.org/b/186938 performance-api/performance-observer-no-document-leak.html [ Skip ]
-
 webkit.org/b/175609 imported/w3c/web-platform-tests/IndexedDB/idbobjectstore_getAll.html [ Pass Failure ]
 
 webkit.org/b/186848 imported/w3c/web-platform-tests/FileAPI/blob/Blob-slice.html [ Pass Failure ]

Modified: trunk/LayoutTests/performance-api/performance-observer-no-document-leak.html (233168 => 233169)


--- trunk/LayoutTests/performance-api/performance-observer-no-document-leak.html	2018-06-25 20:16:04 UTC (rev 233168)
+++ trunk/LayoutTests/performance-api/performance-observer-no-document-leak.html	2018-06-25 20:30:11 UTC (rev 233169)
@@ -12,8 +12,8 @@
 function numberOfDocumentsShouldBecome(count)
 {
     return new Promise(function(resolve, reject) {
-        gc();
         handle = setInterval(function() {
+            gc();
             if (internals.numberOfLiveDocuments() == count) {
                 testPassed("Number of document is " + count);
                 clearInterval(handle);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to