Title: [253448] trunk/LayoutTests
Revision
253448
Author
[email protected]
Date
2019-12-12 15:35:04 -0800 (Thu, 12 Dec 2019)

Log Message

Unreviewed, try to address flakiness of http/tests/cache-storage/page-cache-domcache-pending-promise.html on EWS

* http/tests/cache-storage/page-cache-domcache-pending-promise.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (253447 => 253448)


--- trunk/LayoutTests/ChangeLog	2019-12-12 23:29:59 UTC (rev 253447)
+++ trunk/LayoutTests/ChangeLog	2019-12-12 23:35:04 UTC (rev 253448)
@@ -1,5 +1,11 @@
 2019-12-12  Chris Dumez  <[email protected]>
 
+        Unreviewed, try to address flakiness of http/tests/cache-storage/page-cache-domcache-pending-promise.html on EWS
+
+        * http/tests/cache-storage/page-cache-domcache-pending-promise.html:
+
+2019-12-12  Chris Dumez  <[email protected]>
+
         window.AudioContext / window.OfflineAudioContext should not be enumerable
         https://bugs.webkit.org/show_bug.cgi?id=205163
 

Modified: trunk/LayoutTests/http/tests/cache-storage/page-cache-domcache-pending-promise.html (253447 => 253448)


--- trunk/LayoutTests/http/tests/cache-storage/page-cache-domcache-pending-promise.html	2019-12-12 23:29:59 UTC (rev 253447)
+++ trunk/LayoutTests/http/tests/cache-storage/page-cache-domcache-pending-promise.html	2019-12-12 23:35:04 UTC (rev 253448)
@@ -18,7 +18,7 @@
         handle2 = setTimeout(() => {
             testFailed("Page restored from cache but the promise was not resolved.");
             finishJSTest();
-        }, 10000);
+        }, 20000);
     }
 });
 
@@ -47,22 +47,15 @@
     tryCache();
 });
 
-async function clearExistingCache()
-{
-    try {
-        await self.caches.delete('page-cache-test');
-    } catch (e) {
-    }
-}
-
 _onload_ = () => {
-    clearExistingCache();
+    if (window.testRunner)
+        testRunner.clearDOMCaches();
 
     setTimeout(() => {
         handle1 = setTimeout(() => {
             testFailed("Timed out while waiting for the cache to open");
             finishJSTest();
-        }, 10000);
+        }, 20000);
         caches.open('page-cache-test').then((_cache) => {
             clearTimeout(handle1);
             cache = _cache;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to