Title: [216266] trunk/LayoutTests
Revision
216266
Author
[email protected]
Date
2017-05-05 13:31:53 -0700 (Fri, 05 May 2017)

Log Message

[macOS Sierra] LayoutTest http/tests/inspector/network/resource-request-headers.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=170702
<rdar://problem/31616643>

Rubber-stamped by Brian Burg.

* platform/mac-wk2/TestExpectations:
* http/tests/inspector/network/resource-request-headers.html:
Make this test unflakey by ensuring we wait for the load to complete.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (216265 => 216266)


--- trunk/LayoutTests/ChangeLog	2017-05-05 20:23:28 UTC (rev 216265)
+++ trunk/LayoutTests/ChangeLog	2017-05-05 20:31:53 UTC (rev 216266)
@@ -1,3 +1,15 @@
+2017-05-05  Joseph Pecoraro  <[email protected]>
+
+        [macOS Sierra] LayoutTest http/tests/inspector/network/resource-request-headers.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=170702
+        <rdar://problem/31616643>
+
+        Rubber-stamped by Brian Burg.
+
+        * platform/mac-wk2/TestExpectations:
+        * http/tests/inspector/network/resource-request-headers.html:
+        Make this test unflakey by ensuring we wait for the load to complete.
+
 2017-05-05  Chris Dumez  <[email protected]>
 
         Attr Nodes should not have children

Modified: trunk/LayoutTests/http/tests/inspector/network/resource-request-headers.html (216265 => 216266)


--- trunk/LayoutTests/http/tests/inspector/network/resource-request-headers.html	2017-05-05 20:23:28 UTC (rev 216265)
+++ trunk/LayoutTests/http/tests/inspector/network/resource-request-headers.html	2017-05-05 20:31:53 UTC (rev 216266)
@@ -52,8 +52,9 @@
                 Promise.all([
                     WebInspector.Frame.awaitEvent(WebInspector.Frame.Event.ResourceWasAdded),
                     WebInspector.Resource.awaitEvent(WebInspector.Resource.Event.ResponseReceived),
+                    WebInspector.Resource.awaitEvent(WebInspector.Resource.Event.LoadingDidFinish),
                     InspectorTest.awaitEvent("LoadComplete"),
-                ]).then(([resourceWasAddedEvent, responseReceivedEvent, loadCompleteEvent]) => {
+                ]).then(([resourceWasAddedEvent, responseReceivedEvent, loadingDidFinish, loadCompleteEvent]) => {
                     let resource = resourceWasAddedEvent.data.resource;
                     InspectorTest.expectThat(resource instanceof WebInspector.Resource, "Resource should be created.");
                     InspectorTest.expectEqual(resource, responseReceivedEvent.target, "Resource should receive a Response.");

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (216265 => 216266)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2017-05-05 20:23:28 UTC (rev 216265)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2017-05-05 20:31:53 UTC (rev 216266)
@@ -648,8 +648,6 @@
 
 compositing/tiling/non-visible-window-tile-coverage.html [ Pass ]
 
-webkit.org/b/170702 [ Sierra ] http/tests/inspector/network/resource-request-headers.html [ Pass Failure ]
-
 webkit.org/b/170907 [ Debug ] imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.worker.html [ Pass Failure Timeout ]
 
 webkit.org/b/170629 [ Sierra Debug ] memory/memory-pressure-simulation.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to