Flaky Test: fast/events/resize-subframe-in-rendering-update.html
https://bugs.webkit.org/show_bug.cgi?id=203140
<rdar://problem/56415948>

Reviewed by Wenson Hsieh.

Removed the assertion in setTimeout to avoid flakiness. There isn't a way to deterministically order
callbacks of setTimeout and requestAnimationFrame for this test for now.

* fast/events/resize-subframe-in-rendering-update-expected.txt:
* fast/events/resize-subframe-in-rendering-update.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@251328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0107579..88d5890 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
+2019-10-19  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Flaky Test: fast/events/resize-subframe-in-rendering-update.html
+        https://bugs.webkit.org/show_bug.cgi?id=203140
+        <rdar://problem/56415948>
+
+        Reviewed by Wenson Hsieh.
+
+        Removed the assertion in setTimeout to avoid flakiness. There isn't a way to deterministically order
+        callbacks of setTimeout and requestAnimationFrame for this test for now.
+
+        * fast/events/resize-subframe-in-rendering-update-expected.txt:
+        * fast/events/resize-subframe-in-rendering-update.html:
+
 2019-10-19  Chris Dumez  <cdumez@apple.com>
 
         FileReader should not prevent entering the back/forward cache
diff --git a/LayoutTests/fast/events/resize-subframe-in-rendering-update-expected.txt b/LayoutTests/fast/events/resize-subframe-in-rendering-update-expected.txt
index e4cddc6..27af3b1 100644
--- a/LayoutTests/fast/events/resize-subframe-in-rendering-update-expected.txt
+++ b/LayoutTests/fast/events/resize-subframe-in-rendering-update-expected.txt
@@ -7,8 +7,6 @@
 iframeA.style.width = "200px"; updateLayout(iframeA)
 iframeAA.style.width = "200px"; updateLayout(iframeAA)
 PASS logs.length is 0
-After 0s setTimeout
-PASS logs.length is 0
 After requestAnimationFrame
 PASS logs.length is 3
 PASS logs.join(", ") is "A, AA, B"
diff --git a/LayoutTests/fast/events/resize-subframe-in-rendering-update.html b/LayoutTests/fast/events/resize-subframe-in-rendering-update.html
index 289a3e8..2881805 100644
--- a/LayoutTests/fast/events/resize-subframe-in-rendering-update.html
+++ b/LayoutTests/fast/events/resize-subframe-in-rendering-update.html
@@ -46,10 +46,6 @@
             finishJSTest();
         });
     }, 0);
-    setTimeout(() => {
-        debug('After 0s setTimeout');
-        shouldBe('logs.length', '0');
-    }, 0);
 });
 
 </script>