Title: [264940] trunk/LayoutTests
Revision
264940
Author
ryanhad...@apple.com
Date
2020-07-27 13:11:25 -0700 (Mon, 27 Jul 2020)

Log Message

Unreviewed, reverting r264926.

Test is failing on macOS Debug WK1 bots

Reverted changeset:

"Test landed flaky: [ iOS ] fast/visual-viewport/scroll-event-
fired-during-scroll-alone.html is a flakey failure"
https://bugs.webkit.org/show_bug.cgi?id=214324
https://trac.webkit.org/changeset/264926

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (264939 => 264940)


--- trunk/LayoutTests/ChangeLog	2020-07-27 20:06:57 UTC (rev 264939)
+++ trunk/LayoutTests/ChangeLog	2020-07-27 20:11:25 UTC (rev 264940)
@@ -1,3 +1,16 @@
+2020-07-27  Ryan Haddad  <ryanhad...@apple.com>
+
+        Unreviewed, reverting r264926.
+
+        Test is failing on macOS Debug WK1 bots
+
+        Reverted changeset:
+
+        "Test landed flaky: [ iOS ] fast/visual-viewport/scroll-event-
+        fired-during-scroll-alone.html is a flakey failure"
+        https://bugs.webkit.org/show_bug.cgi?id=214324
+        https://trac.webkit.org/changeset/264926
+
 2020-07-27  Hector Lopez  <hector_i_lo...@apple.com>
 
         [ iOS ] fast/canvas/draw-focus-if-needed-with-path.html is passing and expectations need to be removed

Modified: trunk/LayoutTests/fast/visual-viewport/scroll-event-fired-during-scroll-alone.html (264939 => 264940)


--- trunk/LayoutTests/fast/visual-viewport/scroll-event-fired-during-scroll-alone.html	2020-07-27 20:06:57 UTC (rev 264939)
+++ trunk/LayoutTests/fast/visual-viewport/scroll-event-fired-during-scroll-alone.html	2020-07-27 20:11:25 UTC (rev 264940)
@@ -6,7 +6,6 @@
   }
 </style>
 
-<script src=""
 <script src=""
 <script src=""
 <script>
@@ -24,15 +23,15 @@
     window.visualViewport.addEventListener("scroll", event => numScrollEvents++);
 
     promise_test(async () => {
-        await UIHelper.waitForEvent(window, "load");
+        await new Promise(resolve => window.addEventListener("load", resolve));
         await new Promise(resolve => testRunner.runUIScript(getUIScript(), resolve));
 
         window.scrollTo(1000, 1000);
-        await UIHelper.ensureStablePresentationUpdate();
+        await new Promise(requestAnimationFrame);
         assert_not_equals(numScrollEvents, 0, "Calling window.scrollTo() caused 'scroll' events to be dispatched.");
 
         const numScrollEventsAfterScroll = numScrollEvents;
-        await UIHelper.animationFrame();
+        await new Promise(requestAnimationFrame);
         assert_equals(numScrollEventsAfterScroll, numScrollEvents, "There were no additional scroll events after scrolling.");
     }, "Verify that a scroll event gets fired on window.visualViewport when its offset changes but not after the scroll has completed.");
 

Modified: trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations (264939 => 264940)


--- trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2020-07-27 20:06:57 UTC (rev 264939)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2020-07-27 20:11:25 UTC (rev 264940)
@@ -112,6 +112,8 @@
 
 webkit.org/b/214739 [ Debug ] imported/w3c/web-platform-tests/css/css-flexbox/getcomputedstyle/flexbox_computedstyle_align-content-center.html [ Pass Timeout ]
 
+webkit.org/b/214324 fast/visual-viewport/scroll-event-fired-during-scroll-alone.html [ Pass Failure ]
+
 webkit.org/b/214751 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html [ Pass Failure ]
 
 webkit.org/b/214752 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/resize-during-playback.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to