http/wpt/loading/redirect-headers.html is flaky
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Apr 2018 02:06:10 +0000 (02:06 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Apr 2018 02:06:10 +0000 (02:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184317

Reviewed by Ryosuke Niwa.

Wait for the completion of the fetch to end the test.

* http/wpt/loading/redirect-headers.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230291 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/wpt/loading/redirect-headers.html

index 15d6f32..4476ae6 100644 (file)
@@ -1,5 +1,16 @@
 2018-04-04  Youenn Fablet  <youenn@apple.com>
 
+        http/wpt/loading/redirect-headers.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=184317
+
+        Reviewed by Ryosuke Niwa.
+
+        Wait for the completion of the fetch to end the test.
+
+        * http/wpt/loading/redirect-headers.html:
+
+2018-04-04  Youenn Fablet  <youenn@apple.com>
+
         WebRTC data channel only applications require capture permissions for direct connections
         https://bugs.webkit.org/show_bug.cgi?id=174500
         <rdar://problem/34134281>
index eef0126..b5c7161 100644 (file)
@@ -9,7 +9,8 @@ if (window.testRunner) {
 
 async function doTest()
 {
-    await fetch("../beacon/resources/redirect.py?status=302&location=/");
+    const response = await fetch("../beacon/resources/redirect.py?status=302&location=/");
+    await response.text();
     testRunner.notifyDone();
 }
 </script>