Diff
Modified: trunk/LayoutTests/ChangeLog (275365 => 275366)
--- trunk/LayoutTests/ChangeLog 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/ChangeLog 2021-04-01 17:25:35 UTC (rev 275366)
@@ -1,3 +1,17 @@
+2021-04-01 Chris Gambrell <[email protected]>
+
+ Flaky LayoutTests in http/tests/appcache
+ https://bugs.webkit.org/show_bug.cgi?id=224054
+ <rdar://problem/76108352>
+
+ Reviewed by Jonathan Bedard.
+
+ * http/tests/appcache/fail-on-update-2.html:
+ * http/tests/appcache/fail-on-update.html:
+ * http/tests/appcache/resources/abort-cache-onchecking.manifest.py:
+ * http/tests/appcache/resources/abort-cache-ondownloading.text.py:
+ * http/tests/appcache/resources/not-exist.vob.py:
+
2021-04-01 Mark Lam <[email protected]>
Fix some missing exception checks in HTMLMediaElement methods.
Modified: trunk/LayoutTests/http/tests/appcache/fail-on-update-2.html (275365 => 275366)
--- trunk/LayoutTests/http/tests/appcache/fail-on-update-2.html 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/http/tests/appcache/fail-on-update-2.html 2021-04-01 17:25:35 UTC (rev 275366)
@@ -44,7 +44,7 @@
function resetManifest()
{
if (applicationCache.status != applicationCache.UNCACHED && applicationCache.status != applicationCache.OBSOLETE) {
- timeoutId = setTimeout(resetManifest, 100);
+ timeoutId = setTimeout(resetManifest, 200);
return;
}
@@ -56,7 +56,7 @@
applicationCache.addEventListener('cached', function() { setTimeout(test, 0) }, false);
// If the manifest script happened to be in a wrong state, reset it.
-var timeoutId = setTimeout(resetManifest, 100);
+var timeoutId = setTimeout(resetManifest, 200);
</script>
<p>Test for a particular incorrect assertion failure.</p>
Modified: trunk/LayoutTests/http/tests/appcache/fail-on-update.html (275365 => 275366)
--- trunk/LayoutTests/http/tests/appcache/fail-on-update.html 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/http/tests/appcache/fail-on-update.html 2021-04-01 17:25:35 UTC (rev 275366)
@@ -27,7 +27,7 @@
function resetManifest()
{
if (applicationCache.status != applicationCache.UNCACHED && applicationCache.status != applicationCache.OBSOLETE) {
- timeoutId = setTimeout(resetManifest, 100);
+ timeoutId = setTimeout(resetManifest, 200);
return;
}
@@ -39,7 +39,7 @@
applicationCache.addEventListener('cached', function() { setTimeout(test, 0) }, false);
// If the manifest script happened to be in a wrong state, reset it.
-var timeoutId = setTimeout(resetManifest, 100);
+var timeoutId = setTimeout(resetManifest, 200);
</script>
<p>Test for a particular incorrect assertion failure.</p>
Modified: trunk/LayoutTests/http/tests/appcache/resources/abort-cache-onchecking.manifest.py (275365 => 275366)
--- trunk/LayoutTests/http/tests/appcache/resources/abort-cache-onchecking.manifest.py 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/http/tests/appcache/resources/abort-cache-onchecking.manifest.py 2021-04-01 17:25:35 UTC (rev 275366)
@@ -3,7 +3,7 @@
import sys
import time
-time.sleep(1000)
+time.sleep(1)
sys.stdout.write(
'Content-Type: text/html\r\n\r\n'
Modified: trunk/LayoutTests/http/tests/appcache/resources/abort-cache-ondownloading.text.py (275365 => 275366)
--- trunk/LayoutTests/http/tests/appcache/resources/abort-cache-ondownloading.text.py 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/http/tests/appcache/resources/abort-cache-ondownloading.text.py 2021-04-01 17:25:35 UTC (rev 275366)
@@ -3,7 +3,7 @@
import sys
import time
-time.sleep(1000)
+time.sleep(1)
sys.stdout.write(
'Content-Type: text/html\r\n\r\n'
Modified: trunk/LayoutTests/http/tests/appcache/resources/not-exist.vob.py (275365 => 275366)
--- trunk/LayoutTests/http/tests/appcache/resources/not-exist.vob.py 2021-04-01 17:17:26 UTC (rev 275365)
+++ trunk/LayoutTests/http/tests/appcache/resources/not-exist.vob.py 2021-04-01 17:25:35 UTC (rev 275366)
@@ -3,7 +3,7 @@
import sys
import time
-time.sleep(5000)
+time.sleep(5)
sys.stdout.write(
'status: 404\r\n'