Title: [212478] trunk/LayoutTests
- Revision
- 212478
- Author
- simon.fra...@apple.com
- Date
- 2017-02-16 15:34:29 -0800 (Thu, 16 Feb 2017)
Log Message
REGRESSION (r212197): [ios-simulator Debug WK2] LayoutTest fast/css/target-fragment-match.html is failing
https://bugs.webkit.org/show_bug.cgi?id=168239
In iOS WK2, resetting the scroll position after history navigation involves a trip
through the UI process. Attempted to de-flake this test by using a nested setTimeout(0).
* fast/css/target-fragment-match.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (212477 => 212478)
--- trunk/LayoutTests/ChangeLog 2017-02-16 23:33:56 UTC (rev 212477)
+++ trunk/LayoutTests/ChangeLog 2017-02-16 23:34:29 UTC (rev 212478)
@@ -1,3 +1,13 @@
+2017-02-16 Simon Fraser <simon.fra...@apple.com>
+
+ REGRESSION (r212197): [ios-simulator Debug WK2] LayoutTest fast/css/target-fragment-match.html is failing
+ https://bugs.webkit.org/show_bug.cgi?id=168239
+
+ In iOS WK2, resetting the scroll position after history navigation involves a trip
+ through the UI process. Attempted to de-flake this test by using a nested setTimeout(0).
+
+ * fast/css/target-fragment-match.html:
+
2017-02-16 Alex Christensen <achristen...@webkit.org>
Special URLs without a host are invalid
Modified: trunk/LayoutTests/fast/css/target-fragment-match.html (212477 => 212478)
--- trunk/LayoutTests/fast/css/target-fragment-match.html 2017-02-16 23:33:56 UTC (rev 212477)
+++ trunk/LayoutTests/fast/css/target-fragment-match.html 2017-02-16 23:34:29 UTC (rev 212478)
@@ -21,7 +21,12 @@
document.body.offsetTop;
window.history.back(); // This queues up a navigation, so we need to delay the call to notifyDone.
if (window.testRunner)
- setTimeout(function() { testRunner.notifyDone() }, 0);
+ setTimeout(function() {
+ // Second setTimeout is because iOS WK2 updates the scroll position after history navigation via the UI process.
+ setTimeout(function() {
+ testRunner.notifyDone()
+ }, 0);
+ }, 0);
}
</script>
</head>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes