Title: [251287] trunk/LayoutTests
Revision
251287
Author
[email protected]
Date
2019-10-18 09:58:47 -0700 (Fri, 18 Oct 2019)

Log Message

[iOS] Layout Test http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html is frequently failing or timing out (198185)
https://bugs.webkit.org/show_bug.cgi?id=198185
<rdar://problem/51074251>

Patch by Kate Cheney <[email protected]> on 2019-10-18
Reviewed by Youenn Fablet.

Fixes a flaky failure caused by test results being checked before data
records have finished processing. This patch uses a callback to
ensure data processing has finished before continuing.

* http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html:
* platform/ios-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (251286 => 251287)


--- trunk/LayoutTests/ChangeLog	2019-10-18 16:28:13 UTC (rev 251286)
+++ trunk/LayoutTests/ChangeLog	2019-10-18 16:58:47 UTC (rev 251287)
@@ -1,3 +1,18 @@
+2019-10-18  Kate Cheney  <[email protected]>
+
+        [iOS] Layout Test http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html is frequently failing or timing out (198185)
+        https://bugs.webkit.org/show_bug.cgi?id=198185
+        <rdar://problem/51074251>
+
+        Reviewed by Youenn Fablet.
+
+        Fixes a flaky failure caused by test results being checked before data
+        records have finished processing. This patch uses a callback to
+        ensure data processing has finished before continuing.
+
+        * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html:
+        * platform/ios-wk2/TestExpectations:
+
 2019-10-18  Truitt Savell  <[email protected]>
 
         REGRESSION: Layout Test webgl/many-contexts.html is a flaky timeout on Mojave

Modified: trunk/LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html (251286 => 251287)


--- trunk/LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html	2019-10-18 16:28:13 UTC (rev 251286)
+++ trunk/LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html	2019-10-18 16:58:47 UTC (rev 251287)
@@ -213,8 +213,8 @@
     }
 
     function processWebsiteDataAndContinue() {
+        testRunner.installStatisticsDidScanDataRecordsCallback(checkWebsiteDataAndContinue);
         testRunner.statisticsProcessStatisticsAndDataRecords();
-        checkWebsiteDataAndContinue();
     }
 
     function checkWebsiteDataAndContinue() {

Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (251286 => 251287)


--- trunk/LayoutTests/platform/ios-wk2/TestExpectations	2019-10-18 16:28:13 UTC (rev 251286)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations	2019-10-18 16:58:47 UTC (rev 251287)
@@ -1321,8 +1321,6 @@
 
 webkit.org/b/198774 imported/w3c/web-platform-tests/websockets/bufferedAmount-unchanged-by-sync-xhr.any.worker.html [ Failure ]
 
-webkit.org/b/198185 http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html [ Skip ]
-
 webkit.org/b/176030 http/tests/websocket/tests/hybi/send-object-tostring-check.html [ Pass Failure ]
 
 webkit.org/b/199013 [ Debug ] imported/w3c/web-platform-tests/websockets/Create-Secure-verify-url-set-non-default-port.any.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to