Title: [262789] trunk/LayoutTests
- Revision
- 262789
- Author
- [email protected]
- Date
- 2020-06-09 05:57:23 -0700 (Tue, 09 Jun 2020)
Log Message
scrollingcoordinator/ios/scroll-position-after-reattach.html is a flaky image failure
https://bugs.webkit.org/show_bug.cgi?id=212967
<rdar://problem/52961406>
Reviewed by Antoine Quint.
* platform/ios-wk2/TestExpectations:
* scrollingcoordinator/ios/scroll-position-after-reattach.html:
Ensure the element is re-added before test finishes.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (262788 => 262789)
--- trunk/LayoutTests/ChangeLog 2020-06-09 12:11:13 UTC (rev 262788)
+++ trunk/LayoutTests/ChangeLog 2020-06-09 12:57:23 UTC (rev 262789)
@@ -1,3 +1,16 @@
+2020-06-09 Antti Koivisto <[email protected]>
+
+ scrollingcoordinator/ios/scroll-position-after-reattach.html is a flaky image failure
+ https://bugs.webkit.org/show_bug.cgi?id=212967
+ <rdar://problem/52961406>
+
+ Reviewed by Antoine Quint.
+
+ * platform/ios-wk2/TestExpectations:
+ * scrollingcoordinator/ios/scroll-position-after-reattach.html:
+
+ Ensure the element is re-added before test finishes.
+
2020-06-09 Javier Fernandez <[email protected]>
[css-grid] Import some grid tests from WPT
Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (262788 => 262789)
--- trunk/LayoutTests/platform/ios-wk2/TestExpectations 2020-06-09 12:11:13 UTC (rev 262788)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2020-06-09 12:57:23 UTC (rev 262789)
@@ -1318,8 +1318,6 @@
webkit.org/b/206946 http/tests/security/cookies/third-party-cookie-blocking-main-frame.html [ Pass Timeout ]
-webkit.org/b/205309 scrollingcoordinator/ios/scroll-position-after-reattach.html [ ImageOnlyFailure ]
-
webkit.org/b/207156 [ Release ] http/tests/websocket/tests/hybi/workers/close.html [ Pass Failure ]
webkit.org/b/206627 storage/websql [ Skip ]
Modified: trunk/LayoutTests/scrollingcoordinator/ios/scroll-position-after-reattach.html (262788 => 262789)
--- trunk/LayoutTests/scrollingcoordinator/ios/scroll-position-after-reattach.html 2020-06-09 12:11:13 UTC (rev 262788)
+++ trunk/LayoutTests/scrollingcoordinator/ios/scroll-position-after-reattach.html 2020-06-09 12:57:23 UTC (rev 262789)
@@ -28,11 +28,15 @@
if (window.testRunner)
testRunner.waitUntilDone();
-function scroll() {
+async function scroll() {
let removed = outercontent;
outercontent.remove();
document.offsetLeft;
- setTimeout(() => outer.appendChild(removed));
+
+ await new Promise(requestAnimationFrame);
+
+ outer.appendChild(removed);
+ testRunner.notifyDone();
}
async function doTest() {
@@ -41,7 +45,6 @@
inner.addEventListener("scroll", scroll);
await UIHelper.immediateScrollElementAtContentPointToOffset(50, 50, 0, 200);
- testRunner.notifyDone();
}
window.addEventListener('load', doTest, false);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes